File tree Expand file tree Collapse file tree 12 files changed +19
-16
lines changed
clang/unittests/Interpreter/ExceptionTests Expand file tree Collapse file tree 12 files changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,8 @@ config("no_rtti") {
370
370
config (" zdefs" ) {
371
371
# -Wl,-z,defs doesn't work with sanitizers.
372
372
# https://clang.llvm.org/docs/AddressSanitizer.html
373
- if (current_os != " ios" && current_os != " mac" && current_os != " win" && ! (use_asan || use_tsan || use_ubsan )) {
373
+ if (current_os != " ios" && current_os != " mac" && current_os != " win" &&
374
+ ! (use_asan || use_tsan || use_ubsan )) {
374
375
ldflags = [ " -Wl,-z,defs" ]
375
376
}
376
377
}
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ unittest("ClangReplInterpreterExceptionTests") {
9
9
deps = [
10
10
" //clang/lib/AST" ,
11
11
" //clang/lib/Basic" ,
12
- " //clang/lib/Interpreter" ,
13
12
" //clang/lib/Frontend" ,
14
- " //llvm /lib/IR " ,
13
+ " //clang /lib/Interpreter " ,
15
14
" //llvm/lib/ExecutionEngine/Orc" ,
15
+ " //llvm/lib/IR" ,
16
16
" //llvm/lib/Support" ,
17
17
" //llvm/lib/Target:TargetsToBuild" ,
18
18
]
Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ if (android_ndk_path != "") {
18
18
]
19
19
}
20
20
group (" compiler-rt" ) {
21
- deps = [
22
- " //compiler-rt/include($host_toolchain )" ,
23
- ]
21
+ deps = [ " //compiler-rt/include($host_toolchain )" ]
24
22
foreach (toolchain , supported_toolchains ) {
25
23
deps += [ " //compiler-rt/lib($toolchain )" ]
26
24
}
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ static_library("COFF") {
27
27
" //llvm/lib/WindowsManifest" ,
28
28
]
29
29
sources = [
30
+ " COFFLinkerContext.cpp" ,
30
31
" CallGraphSort.cpp" ,
31
32
" Chunks.cpp" ,
32
- " COFFLinkerContext.cpp" ,
33
33
" DLL.cpp" ,
34
34
" DebugTypes.cpp" ,
35
35
" Driver.cpp" ,
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ write_cmake_config("Config") {
52
52
" LLDB_ENABLE_TERMIOS=1" ,
53
53
]
54
54
}
55
-
55
+
56
56
if (current_os == " win" || current_os == " linux" || current_os == " android" ) {
57
57
values += [ " HAVE_SYS_EVENT_H=" ]
58
58
} else {
Original file line number Diff line number Diff line change @@ -215,7 +215,8 @@ write_cmake_config("Plugins.def") {
215
215
# These are in separate variables to make sure ProcessWindowsCommon is
216
216
# initalized after all plugins, but before ProcessGDBRemote.
217
217
if (current_os == " win" ) {
218
- values += [ " LLDB_PROCESS_WINDOWS_PLUGIN=LLDB_PLUGIN(ProcessWindowsCommon)" ]
218
+ values +=
219
+ [ " LLDB_PROCESS_WINDOWS_PLUGIN=LLDB_PLUGIN(ProcessWindowsCommon)" ]
219
220
} else {
220
221
values += [ " LLDB_PROCESS_WINDOWS_PLUGIN=" ]
221
222
}
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ static_library("JIT") {
9
9
# "//lldb/source/Target", # 2-hop dependency cycle.
10
10
" //llvm/lib/Support" ,
11
11
]
12
+
12
13
# For Utility/UuidCompatibility.h.
13
14
include_dirs = [ " //lldb/source" ]
14
15
sources = [ " ObjectFileJIT.cpp" ]
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ static_library("Linux") {
9
9
" //lldb/source/Core" ,
10
10
" //lldb/source/Host" ,
11
11
" //lldb/source/Interpreter" ,
12
- " //lldb/source/Target" ,
13
12
" //lldb/source/Plugins/Platform/POSIX" ,
13
+ " //lldb/source/Target" ,
14
14
]
15
+
15
16
# Reaches into Plugins/Platform/POSIX.
16
17
include_dirs = [ " //lldb/source" ]
17
18
sources = [ " PlatformLinux.cpp" ]
Original file line number Diff line number Diff line change @@ -4,13 +4,14 @@ static_library("Linux") {
4
4
deps = [
5
5
" //lldb/source/Core" ,
6
6
" //lldb/source/Host" ,
7
+ " //lldb/source/Plugins/Process/POSIX" ,
8
+ " //lldb/source/Plugins/Process/Utility" ,
7
9
" //lldb/source/Symbol" ,
8
10
" //lldb/source/Target" ,
9
11
" //lldb/source/Utility" ,
10
- " //lldb/source/Plugins/Process/POSIX" ,
11
- " //lldb/source/Plugins/Process/Utility" ,
12
12
" //llvm/lib/Support" ,
13
13
]
14
+
14
15
# Uses source-relative includes for own headers.
15
16
include_dirs = [ " //lldb/source" ]
16
17
sources = [
@@ -26,4 +27,3 @@ static_library("Linux") {
26
27
" SingleStepCheck.cpp" ,
27
28
]
28
29
}
29
-
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ static_library("POSIX") {
2
2
output_name = " lldbPluginProcessPOSIX"
3
3
configs += [ " //llvm/utils/gn/build:lldb_code" ]
4
4
deps = [
5
- " //lldb/source/Utility" ,
6
5
" //lldb/source/Plugins/Process/Utility" ,
6
+ " //lldb/source/Utility" ,
7
7
" //llvm/lib/Support" ,
8
8
]
9
+
9
10
# Reaches into Plugins/Platform/Process/Utility.
10
11
include_dirs = [ " //lldb/source" ]
11
12
sources = [
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ executable("lldb") {
43
43
if (current_os == " linux" ) {
44
44
deps += [ " //lldb/tools/lldb-server" ]
45
45
}
46
- foreach (toolchain , supported_toolchains ) {
46
+ foreach (toolchain , supported_toolchains ) {
47
47
deps += [ " //lldb/tools/lldb-server($toolchain )" ]
48
48
}
49
49
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ executable("lldb-server") {
18
18
" //lldb/source:lldbBase" ,
19
19
" //lldb/source/Host" ,
20
20
" //lldb/source/Initialization" ,
21
-
22
21
" //lldb/source/Plugins/Instruction/ARM" ,
22
+
23
23
# "//lldb/source/Plugins/Instruction/MIPS", # XXX
24
24
# "//lldb/source/Plugins/Instruction/MIPS64", # XXX
25
25
" //llvm/lib/Option" ,
You can’t perform that action at this time.
0 commit comments