[LLVMdev] Get the filename on which a pass is running?
    Arnamoy Bhattacharyya 
    arnamoy at ualberta.ca
       
    Thu Sep  6 22:03:32 PDT 2012
    
    
  
Hi;
I was wondering how can I get the name of the bitcode file on which I am
running the pass.  I am making my pass as a loadable module.  And if I run
my pass like this -
opt -S -loops -load /home/arnie/llvm-clang/llvm/Release+Asserts/lib/XYZ.so
-xyz <b.bc> b1.bc
I want to get b.bc in the pass.
Thank you;
-- 
Arnamoy Bhattacharyya
Athabasca Hall 143
Department of Computing Science - University of Alberta
Edmonton, Alberta, Canada, T6G 2E8
587-710-7073
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120906/5152ad42/attachment.html>
    
    
More information about the llvm-dev
mailing list