[PATCH] D15969: [WebAssembly] Don't create a needless .note.GNU-stack section

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 09:26:36 PST 2016


rafael added inline comments.

================
Comment at: include/llvm/MC/MCAsmInfoELF.h:25
@@ +24,3 @@
+  /// to disable the special section which requests a non-executable stack.
+  virtual bool usesNonexecutableStackSection() const {
+    return true;
----------------
Can this be just a bool flag that is set by the constructor instead of a virtual function?


Repository:
  rL LLVM

http://reviews.llvm.org/D15969





More information about the llvm-commits mailing list