Skip to content

Commit c84d013

Browse files
wrotkiMariusz Borsa
andcommitted
🍒 [Sanitizers] Fix fake_test_gc not working on devices (llvm#91284)
The way the LIT RUN command is currently constructed ( %run not --crash %t ) causes the test failure on devices - since 'not' is a LLVM built command, not available on devices. Changing the command to read 'not --crash %run %t' fixes it, as 'not' now executes on the host running the test. rdar://115914588 Co-authored-by: Mariusz Borsa <[email protected]> (cherry picked from commit 63c38ba)
1 parent 334917d commit c84d013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/asan/TestCases/Posix/fake_stack_gc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx_asan -O0 -pthread %s -o %t && %env_asan_opts=use_sigaltstack=0 %run not --crash %t 2>&1 | FileCheck %s
1+
// RUN: %clangxx_asan -O0 -pthread %s -o %t && %env_asan_opts=use_sigaltstack=0 not --crash %run %t 2>&1 | FileCheck %s
22

33
// Check that fake stack does not discard frames on the main stack, when GC is
44
// triggered from high alt stack.

0 commit comments

Comments
 (0)