Displaying 2 results from an estimated 2 matches for "nameofpreviousmodule".
2006 Sep 24
2
[LLVMdev] Name of Function's original module during link-time optimization
Hi,
During link-time optimization using llvm-ld, I occasionally need to
find the name/ID of the original module/bytecode file a Function
belonged to. In order to do this I added a nameOfPreviousModule-
attribute to Function and some getters/setters (see attached patch).
However, I can't find out how to read in the ModuleID of a Module
during bytecode loading in lib/bytecode/Reader/Reader.cpp.
How can one do this? Is there another (better) way to accomplish what
I intend to do here (w...
2006 Sep 24
0
[LLVMdev] Name of Function's original module during link-time optimization
Hi Bram,
On Sun, 2006-09-24 at 22:58 +0200, Bram Adams wrote:
> Hi,
>
> During link-time optimization using llvm-ld, I occasionally need to
> find the name/ID of the original module/bytecode file a Function
> belonged to. In order to do this I added a nameOfPreviousModule-
> attribute to Function and some getters/setters (see attached patch).
> However, I can't find out how to read in the ModuleID of a Module
> during bytecode loading in lib/bytecode/Reader/Reader.cpp.
>
> How can one do this? Is there another (better) way to accomplish what...