projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2a823
)
[gn build] Port a423b7f1d7ca (ClangReplInterpreterTests -rdynamic)
author
Nico Weber
<thakis@chromium.org>
Tue, 16 May 2023 13:00:48 +0000
(09:00 -0400)
committer
Nico Weber
<thakis@chromium.org>
Tue, 16 May 2023 13:02:36 +0000
(09:02 -0400)
llvm/utils/gn/secondary/clang/lib/Interpreter/BUILD.gn
patch
|
blob
|
history
llvm/utils/gn/secondary/clang/tools/clang-repl/BUILD.gn
patch
|
blob
|
history
llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
patch
|
blob
|
history
diff --git
a/llvm/utils/gn/secondary/clang/lib/Interpreter/BUILD.gn
b/llvm/utils/gn/secondary/clang/lib/Interpreter/BUILD.gn
index
3a50975
..
f59e9ba
100644
(file)
--- a/
llvm/utils/gn/secondary/clang/lib/Interpreter/BUILD.gn
+++ b/
llvm/utils/gn/secondary/clang/lib/Interpreter/BUILD.gn
@@
-26,5
+26,7
@@
static_library("Interpreter") {
"IncrementalExecutor.cpp",
"IncrementalParser.cpp",
"Interpreter.cpp",
+ "InterpreterUtils.cpp",
+ "Value.cpp",
]
}
diff --git
a/llvm/utils/gn/secondary/clang/tools/clang-repl/BUILD.gn
b/llvm/utils/gn/secondary/clang/tools/clang-repl/BUILD.gn
index
ebc27f3
..
fe6403e
100644
(file)
--- a/
llvm/utils/gn/secondary/clang/tools/clang-repl/BUILD.gn
+++ b/
llvm/utils/gn/secondary/clang/tools/clang-repl/BUILD.gn
@@
-1,6
+1,7
@@
executable("clang-repl") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
+ "//clang/lib/AST",
"//clang/lib/Basic",
"//clang/lib/Interpreter",
"//clang/lib/Tooling",
diff --git
a/llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
b/llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
index
cea530b
..
ceaacdf
100644
(file)
--- a/
llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
+++ b/
llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
@@
-14,4
+14,11
@@
unittest("ClangReplInterpreterTests") {
"IncrementalProcessingTest.cpp",
"InterpreterTest.cpp",
]
+
+ # Support plugins.
+ # FIXME: Disable dead stripping once other binaries are dead-stripped.
+ if (host_os != "mac" && host_os != "win") {
+ # Corresponds to export_executable_symbols() in cmake.
+ ldflags = [ "-rdynamic" ]
+ }
}