[PATCH] D55893: Set hidden attribute on lprofMergeValueProfData

Ana Pazos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 19 22:08:11 PST 2018


apazos added a comment.

I observed the issue with instrumented libs in Android. I have not been successful in reducing a test case that would fail on x86 linux.
I can write a test case that shows I can do a dlopen/dlsym of lprofMergeValueProfData from a different library, but with the hidden attribute set on the function, the dlsym call will fail.
Shouldn't we prevent  lprofMergeValueProfData from being accessed outside a module?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55893/new/

https://reviews.llvm.org/D55893





More information about the llvm-commits mailing list