[PATCH] D148996: [compiler-rt][test] Add `--large-address-aware` link flag for MinGW
Alvin Wong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 25 04:26:53 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1194e6f3fa59: [compiler-rt][test] Add `--large-address-aware` link flag for MinGW (authored by alvinhochun).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148996/new/
https://reviews.llvm.org/D148996
Files:
compiler-rt/lib/interception/tests/CMakeLists.txt
Index: compiler-rt/lib/interception/tests/CMakeLists.txt
===================================================================
--- compiler-rt/lib/interception/tests/CMakeLists.txt
+++ compiler-rt/lib/interception/tests/CMakeLists.txt
@@ -39,6 +39,11 @@
-Wl,-nodefaultlib:libcmt,-defaultlib:msvcrt,-defaultlib:oldnames
)
endif()
+if(MINGW)
+ list(APPEND INTERCEPTION_TEST_LINK_FLAGS_COMMON
+ -Wl,--large-address-aware
+ )
+endif()
list(APPEND INTERCEPTION_TEST_LINK_FLAGS_COMMON -g)
if(NOT MSVC)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148996.516747.patch
Type: text/x-patch
Size: 516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230425/58ef3bc2/attachment.bin>
More information about the llvm-commits
mailing list