[PATCH] D27075: Object: Add SF_Text symbol flag.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 22:20:40 PST 2016


Peter Collingbourne <peter at pcc.me.uk> writes:

> Yes, I was basing this logic on the nm man page which says "The symbol is
> in the text (code) section.", but it looks like that is wrong and nm is
> testing the executable bit on the section instead. I'll remove the
> hasSection part.
>
> Maybe the flag should be named SF_Executable then?

I like that better, yes.

Thanks,
Rafael


More information about the llvm-commits mailing list