search for: a339f163decf5f2c881937600d1e953fa

Displaying 2 results from an estimated 2 matches for "a339f163decf5f2c881937600d1e953fa".

2011 Jul 07
0
[LLVMdev] Filename in dynamically loaded function pass
...pends on what that compiler passed to the Module constructor. However, if you're using your pass from opt as you've shown (by specifying the file on the command line) then it should produce the name of the input bitcode file. [1]: Doxygen: http://llvm.org/doxygen/classllvm_1_1Module.html#a339f163decf5f2c881937600d1e953fa
2011 Jul 07
2
[LLVMdev] Filename in dynamically loaded function pass
Hi All, I would like to know if there is an API/method that I can use to get the name of the file being processed in a dynamically loaded function pass. In other words, if I invoke a pass as follows opt -load pass.so -hello src.bc -o src.hello.bc where pass.so is a functionpass, I would like to get the filename "src.bc", in the doInitialization/doFinalization method. My intent is to