[PATCH] [lld] add calls to nativereader/nativewriter

Shankar Kalpathi Easwaran shankarke at gmail.com
Wed Oct 16 12:48:58 PDT 2013


  The native file is written only in DEBUG mode. This was also previously discussed to make sure the performance is not hampered in release mode.


================
Comment at: lib/Driver/Driver.cpp:143
@@ +142,3 @@
+  resultFile = nativeFile[0].get();
+#endif
+
----------------
Rui Ueyama wrote:
> This should be a separate function for readability.
Ok.

================
Comment at: test/elf/X86_64/dontignorezerosize-sections.test:6
@@ -5,3 +5,2 @@
 
-CHECK:    section-name:    .data
 CHECK:    references:      
----------------
Rui Ueyama wrote:
> Why do these test result change? This change shouldn't change the result right?
The atom is set to the default section.

typeCode->.text
typeData->.data and so on.



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



More information about the llvm-commits mailing list