[PATCH] D42927: Add a WriteAddends config variable

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 12:35:38 PST 2018


ruiu added inline comments.


================
Comment at: ELF/Driver.cpp:824
   Config->Wordsize = Config->Is64 ? 8 : 4;
+  Config->WriteAddends = Config->ApplyDynamicRelocs || !Config->IsRela;
 }
----------------
I think you can now remove ApplyDynamicRelocs from Config because it's now being used only by the driver.


https://reviews.llvm.org/D42927





More information about the llvm-commits mailing list