[compiler-rt] 0f07235 - [Asan] Make fuse-lld-globals.cpp require lld (#155010)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 22 12:20:17 PDT 2025
Author: Aiden Grossman
Date: 2025-08-22T12:20:14-07:00
New Revision: 0f07235e5f9c7e2818a912ca41c997aff4f7c85c
URL: https://github.com/llvm/llvm-project/commit/0f07235e5f9c7e2818a912ca41c997aff4f7c85c
DIFF: https://github.com/llvm/llvm-project/commit/0f07235e5f9c7e2818a912ca41c997aff4f7c85c.diff
LOG: [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.
Added:
Modified:
compiler-rt/test/asan/TestCases/Windows/fuse-lld-globals.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/Windows/fuse-lld-globals.cpp b/compiler-rt/test/asan/TestCases/Windows/fuse-lld-globals.cpp
index 3ee413b7dfd4e..97f3783cb58c8 100644
--- a/compiler-rt/test/asan/TestCases/Windows/fuse-lld-globals.cpp
+++ b/compiler-rt/test/asan/TestCases/Windows/fuse-lld-globals.cpp
@@ -1,3 +1,5 @@
+// REQUIRES: lld-available
+
// RUN: %clangxx_asan -fuse-ld=lld -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s
#include <string.h>
More information about the llvm-commits
mailing list