These two have hard to replace uses of sub shells.
Diff Detail
Diff Detail
Event Timeline
compiler-rt/test/asan/TestCases/Linux/read_binary_name_regtest.c | ||
---|---|---|
5–6 | I feel like a more LLVM-y way to do this would be to feature test seccomp in cmake and use REQUIRES: seccomp or something, but it's totally not worth it for one test. | |
compiler-rt/test/asan/TestCases/Linux/swapcontext_annotation.cc | ||
7 ↗ | (On Diff #94430) | I think we can just replace this with a temporary file: // RUN: seq 60 | xargs -i -- grep LOOPCHECK %s > %t.checks // RUN: %clangxx_asan ... | FileCheck %t.checks --check-prefix=LOOPCHECK // RUN: %clangxx_asan ... | FileCheck %t.checks --check-prefix=LOOPCHECK // RUN: %clangxx_asan ... | FileCheck %t.checks --check-prefix=LOOPCHECK That's more or less what <() is doing. |
I feel like a more LLVM-y way to do this would be to feature test seccomp in cmake and use REQUIRES: seccomp or something, but it's totally not worth it for one test.