[LLVMdev] Pass to remove unused functions
jyasskin at google.com
Tue May 5 21:34:20 PDT 2009
On Tue, May 5, 2009 at 7:47 PM, Chris Lattner <clattner at apple.com> wrote:
> On May 5, 2009, at 4:50 PM, Villmow, Micah wrote:
> > Is there a way to mark all functions as internal from source via some sort
> > of attribute?
> "static". However, if you do that, they won't make it into the bc file.
A flag to force them into the .bc file would be a nice feature for
clang. Unfortunately, I don't expect it to be urgent enough for me to
submit a patch any time soon.
More information about the llvm-dev