[PATCH] Rename enums in Support/MachO.h

Akira Hatanaka ahatanak at gmail.com
Tue Apr 8 15:12:11 PDT 2014


The attached patch renames enums in Support/MachO.h. This is needed because
some of the enum names are taken directly from system header files and
including both MachO.h and some internal versions of those system header
files causes name collisions.

With this patch, we can stop using the following workaround that was
required to build lldb:

http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140331/010905.html

Please review.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140408/53d47280/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: machoenum-rename1.patch
Type: application/octet-stream
Size: 167875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140408/53d47280/attachment.obj>


More information about the llvm-commits mailing list