[PATCH] Linux: We have no macho/machine.h, so define our own enum

linux_cputype.patch (3.29 KB)

Thanks for the patch, LLDB should use include/llvm/Support/MachO.h instead of the system machine.h. If there is a value missing from Support/MachO.h then we should add it.

-Chris

I added everything that should be needed already in "llvm/Support/MachO.h". If we have a few places left that are using the native #defines from darwin, we should patch them.

Greg Clayton

I added everything that should be needed already in "llvm/Support/MachO.h". If we have a few places left that are using the native #defines from darwin, we should patch them.

I see. corrected patch attached.

linux_cputype.patch (2.58 KB)

applied in r115563, thanks!