[PATCH] D28461: [clang] Enable using --section-ordering-file option of ld.gold

Mehdi AMINI via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 8 19:35:22 PST 2017


mehdi_amini accepted this revision.
mehdi_amini added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: CMakeLists.txt:113
+    check_linker_flag("-Wl,--section-ordering-file,${CLANG_ORDER_FILE}"
+      LINKER_ORDER_FILE_WORKS)
+  endif()
----------------
Can we refactor the option by putting it in a string and using the variable here and below?


Repository:
  rL LLVM

https://reviews.llvm.org/D28461





More information about the cfe-commits mailing list