[PATCH] D22564: [ELF] Support FLAGS attribute in PHDR definition

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 07:04:11 PDT 2016


ruiu added inline comments.

================
Comment at: ELF/LinkerScript.cpp:620
@@ -618,3 +619,3 @@
     StringRef Tok = next();
-    Opt.PhdrsCommands.push_back({Tok, PT_NULL, false, false});
+    Opt.PhdrsCommands.push_back({Tok, PT_NULL, false, false, false, 0});
     PhdrsCommand &PhdrCmd = Opt.PhdrsCommands.back();
----------------
Set Flags to PF_R by default. Then you should be able to remove HasFlags member.


Repository:
  rL LLVM

https://reviews.llvm.org/D22564





More information about the llvm-commits mailing list