Am,
Isn't that an entirely different question?
The easiest way is probably to do it textually - echo '!x = ...' >m;
llvm-dis x.bc -o - | cat m - | llvm-as -o y.bc
Cheers,
James
________________________________________
From: Am Ro [beastlifeisgood at gmail.com]
Sent: 21 December 2011 18:29
To: James Molloy
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Position Dependent Loading in LLVM Modules
Thanks James,
Let me rephrase my question:
How do I insert metadata into llvm modules (bit code files)?
- Am
-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the information in any
medium. Thank you.