Skip to content

Commit ead8092

Browse files
authored
Merge branch 'main' into revert
2 parents 6b31082 + 3d5191f commit ead8092

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

clang/test/CodeGen/sanitize-type-outlined.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
// REQUIRES: target=x86_64-linux-gnu
2-
3-
// RUN: %clang -S -fsanitize=type -emit-llvm -o - -fsanitize=type %s \
1+
// RUN: %clang --target=x86_64-linux-gnu -S -fsanitize=type -emit-llvm -o - %s \
42
// RUN: -fno-sanitize-type-outline-instrumentation \
53
// RUN: | FileCheck %s --check-prefixes=CHECK-NO-OUTLINE
6-
// RUN: %clang -S -fsanitize=type -emit-llvm -o - -fsanitize=type %s \
4+
// RUN: %clang --target=x86_64-linux-gnu -S -fsanitize=type -emit-llvm -o - %s \
75
// RUN: -fsanitize-type-outline-instrumentation \
86
// RUN: | FileCheck %s --check-prefixes=CHECK-OUTLINE
97

llvm/unittests/Support/SignalsTest.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ using testing::Not;
3232
#if defined(HAVE_BACKTRACE) && ENABLE_BACKTRACES && \
3333
(defined(__linux__) || defined(__FreeBSD__) || \
3434
defined(__FreeBSD_kernel__) || defined(__NetBSD__))
35+
// Test relies on the binary this test is linked into having a GNU build ID
36+
// note, which is not universally enabled by default (even when using Clang).
37+
// Disable until we can reliably detect whether this is the case and skip it if
38+
// not. See https://github.com/llvm/llvm-project/issues/168891.
39+
#if 0
3540
TEST(SignalsTest, PrintsSymbolizerMarkup) {
3641
auto Exit =
3742
make_scope_exit([]() { unsetenv("LLVM_ENABLE_SYMBOLIZER_MARKUP"); });
@@ -51,6 +56,7 @@ TEST(SignalsTest, PrintsSymbolizerMarkup) {
5156
// Backtrace line
5257
EXPECT_THAT(Res, MatchesRegex(".*" TAG_BEGIN "bt:0:" P_REGEX ".*"));
5358
}
59+
#endif
5460

5561
TEST(SignalsTest, SymbolizerMarkupDisabled) {
5662
auto Exit = make_scope_exit([]() { unsetenv("LLVM_DISABLE_SYMBOLIZATION"); });

0 commit comments

Comments
 (0)