[PATCH] D58250: [AIX][CMake] Changes for building on AIX with XL and GCC

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 15 08:58:14 PST 2019


sfertile added inline comments.


================
Comment at: llvm/cmake/modules/HandleLLVMOptions.cmake:138
+if(${CMAKE_SYSTEM_NAME} MATCHES "AIX")
+  append("-Wl,-bbigtoc"
+    CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS)
----------------
I'm interested in why you choose bigtoc linker option over using large code model? From the little I understand about the bigtoc option it seems that large code model would be the preferable solution when expecting to have a toc that is a lot bigger then 64K.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58250/new/

https://reviews.llvm.org/D58250





More information about the llvm-commits mailing list