Skip to content

Commit 0f07235

Browse files
[Asan] Make fuse-lld-globals.cpp require lld (#155010)
Otherwise if we do not build lld, this test will run and fail. Found when experimenting with LLVM_ENABLE_RUNTIMES="compiler-rt" on Windows.
1 parent d49353c commit 0f07235

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler-rt/test/asan/TestCases/Windows/fuse-lld-globals.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// REQUIRES: lld-available
2+
13
// RUN: %clangxx_asan -fuse-ld=lld -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s
24

35
#include <string.h>

0 commit comments

Comments
 (0)