File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
llvm/utils/gn/secondary/compiler-rt/lib/asan Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ if (current_toolchain == host_toolchain) {
67
67
cflags = []
68
68
if (target_os != " win" ) {
69
69
cflags += [ " -ftls-model=initial-exec" ]
70
+ } else {
71
+ ldflags = [ " /OPT:NOICF" ]
70
72
}
71
73
72
74
# FIXME: link rt dl m pthread log
@@ -175,13 +177,6 @@ if (current_toolchain == host_toolchain) {
175
177
" //compiler-rt/lib/ubsan:cxx_sources" ,
176
178
" //compiler-rt/lib/ubsan:sources" ,
177
179
]
178
- if (current_os == " win" ) {
179
- deps += [
180
- " :weak_interception" ,
181
- " //compiler-rt/lib/sanitizer_common:weak_interception" ,
182
- " //compiler-rt/lib/ubsan:weak_interception" ,
183
- ]
184
- }
185
180
defines = [ " ASAN_DYNAMIC" ]
186
181
if (current_os == " win" ) {
187
182
defines += [ " INTERCEPTION_DYNAMIC_CRT" ]
You can’t perform that action at this time.
0 commit comments