[llvm-dev] How can I determine where a function came from in a module?
Shishir V Jessu via llvm-dev
llvm-dev at lists.llvm.org
Thu Jul 30 10:35:30 PDT 2020
Hello,
I am trying to write a pass to apply a transformation only to functions
that came directly from the source code I am compiling, and not any
included external libraries. For instance, if I am using the C++ standard
library, I do not want to apply the transformation to the standard library
itself. Is there any way in LLVM to distinguish functions based on where
they came from? Thanks!
Best,
Shishir Jessu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200730/de2b0a09/attachment.html>
More information about the llvm-dev
mailing list