[PATCH] [lld] [MachO] Begin to flesh out normalizedToAtoms

kledzik at apple.com kledzik at apple.com
Thu Jan 2 14:37:52 PST 2014



================
Comment at: lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp:282
@@ -280,1 +281,3 @@
+        io, sect.content);
+    io.mapOptional("content",         content->normalizedContent);
     io.mapOptional("relocations",     sect.relocations);
----------------
I think you can just cast the address of sect.content to be of type ContentBytes and it should all just work with no need for NormalizedContent.


http://llvm-reviews.chandlerc.com/D2464



More information about the llvm-commits mailing list