[PATCH] MCJIT MachO debugging support

Eric Christopher echristo at gmail.com
Tue Jun 24 15:36:41 PDT 2014


One more nit since I noticed:

+    if (is64) {
+      ((MachO::section_64 *)data)->addr = Addr;
+    } else {
+      ((MachO::section *)data)->addr = Addr;
+    }

No need for the braces here.

I'm kindof dubious about this whole approach, but this matches what
the ELF stuff is doing so...

-eric

http://reviews.llvm.org/D4005






More information about the llvm-commits mailing list