Files
clang-p2996/lldb/test/Shell/SymbolFile/DWARF/x86/gnu-style-compression.cpp
David Spickett 8a64d80a95 [lldb] Require x86 backend for a bunch of DWARF tests
By moving them into a folder with a local lit config
requiring x86. All these tests use x86 target triples.

There are two tests that require target-x86_64 because
they run program files (instead of just needing the backend).
Those are moved to the x86 folder also but their REQUIRES are
unchanged.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D100193
2021-04-13 08:47:41 +00:00

15 lines
343 B
C++

// REQUIRES: zlib
// RUN: %clang %s -target x86_64-pc-linux -g -gsplit-dwarf -c -o %t \
// RUN: -Wa,--compress-debug-sections=zlib-gnu
// RUN: %lldb %t -o "target var s a" -b | FileCheck %s
// CHECK: (const short) s = 47
// CHECK: (const A) a = (a = 42)
struct A {
long a = 42;
};
extern constexpr short s = 47;
extern constexpr A a{};