[llvm-commits] [PATCH] Add symbol flags for thread local, common, and undefined symbol attribute.

David Meyer pdox at google.com
Tue Feb 28 18:01:39 PST 2012


* Rename ST_External to ST_Unknown. This indicates that the type of symbol
unknown, and is no longer a synonym for being undefined. For example in
ELF, a symbol can be undefined with a known type.
* Add flags SF_ThreadLocal, SF_Common, SF_Undefined to the symbol flags
bitset.
* Implement them all for ELF.
* Implement only SF_Undefined for COFF and MachO, in a way which is
identical to how ST_External was implemented for these classes before.

- pdox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120228/84c4b81f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moreflags.patch
Type: application/octet-stream
Size: 5379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120228/84c4b81f/attachment.obj>


More information about the llvm-commits mailing list