[PATCH] D103287: Pass -gcodeview-ghash when using clang-cl and lld-link

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 27 17:00:31 PDT 2021


aganea added inline comments.


================
Comment at: llvm/cmake/modules/HandleLLVMOptions.cmake:490
+    if (${linker_flag_idx} GREATER -1)
+      append("-gcodeview-ghash" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
+    endif()
----------------
Do we need prior testing of the Clang version? I believe this won't work if using Clang 10 or before as a bootstrap compiler?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103287



More information about the llvm-commits mailing list