[PATCH] D47145: [X86][ELF][CET] Adding the .note.gnu.property ELF section in X86

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 02:37:28 PDT 2018


jhenderson added inline comments.


================
Comment at: llvm/lib/Target/X86/X86AsmPrinter.cpp:566-569
+      OutStreamer->EmitIntValue('G', 1 /*size*/); // note name "GNU"
+      OutStreamer->EmitIntValue('N', 1 /*size*/);
+      OutStreamer->EmitIntValue('U', 1 /*size*/);
+      OutStreamer->EmitIntValue(0, 1 /*size*/);
----------------
Can't you use EmitBytes to achieve this?


https://reviews.llvm.org/D47145





More information about the llvm-commits mailing list