[llvm] e573a48 - Revert "[gn] build lldb-test with dead code stripping"
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 04:26:43 PDT 2024
Author: Nico Weber
Date: 2024-06-28T13:26:21+02:00
New Revision: e573a4844a3f8521c7a11a4dd5e609d3217a7be4
URL: https://github.com/llvm/llvm-project/commit/e573a4844a3f8521c7a11a4dd5e609d3217a7be4
DIFF: https://github.com/llvm/llvm-project/commit/e573a4844a3f8521c7a11a4dd5e609d3217a7be4.diff
LOG: Revert "[gn] build lldb-test with dead code stripping"
This reverts commit c78b6fdf4602e9d43270581a9a5eeb1fd15c4f8d.
Reverting the lldb commit.
Added:
Modified:
llvm/utils/gn/secondary/lldb/tools/lldb-test/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/lldb/tools/lldb-test/BUILD.gn b/llvm/utils/gn/secondary/lldb/tools/lldb-test/BUILD.gn
index 69861f3f94bd6..96beba140581a 100644
--- a/llvm/utils/gn/secondary/lldb/tools/lldb-test/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/tools/lldb-test/BUILD.gn
@@ -26,12 +26,4 @@ executable("lldb-test") {
"SystemInitializerTest.cpp",
"lldb-test.cpp",
]
-
- if (current_os == "mac") {
- ldflags = [ "-Wl,-dead_strip" ]
- } else if (current_os == "win") {
- ldflags = [ "/OPT:REF" ]
- } else {
- ldflags = [ "-Wl,--gc-sections" ]
- }
}
More information about the llvm-commits
mailing list