Files
clang-p2996/lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp
Felipe de Azevedo Piovezan 445fc51800 [lldb][test] Force dwarf4 usage in test requiring it (#95449)
This test is explicitly checking for dwarf 4 behavior on Apple
platforms, so we should explicitly use the dwarf4 flag.

Related to https://github.com/llvm/llvm-project/pull/95164
2024-06-14 12:40:30 -07:00

9 lines
237 B
C++

// Test that we use the apple indexes.
// RUN: %clang %s -g -c -o %t --target=x86_64-apple-macosx -gdwarf-4
// RUN: lldb-test symbols %t | FileCheck %s
// CHECK: .apple_names index present
// CHECK: .apple_types index present
int foo;