[Lldb-commits] [lldb] 445fc51 - [lldb][test] Force dwarf4 usage in test requiring it (#95449)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 14 12:40:34 PDT 2024
Author: Felipe de Azevedo Piovezan
Date: 2024-06-14T12:40:30-07:00
New Revision: 445fc51800d391d0c912d8c6c918b016e0604319
URL: https://github.com/llvm/llvm-project/commit/445fc51800d391d0c912d8c6c918b016e0604319
DIFF: https://github.com/llvm/llvm-project/commit/445fc51800d391d0c912d8c6c918b016e0604319.diff
LOG: [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
Added:
Modified:
lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp
Removed:
################################################################################
diff --git a/lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp b/lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp
index 00440531e99f7..5bcb2cbcbbe29 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp
+++ b/lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp
@@ -1,5 +1,5 @@
// Test that we use the apple indexes.
-// RUN: %clang %s -g -c -o %t --target=x86_64-apple-macosx
+// 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
More information about the lldb-commits
mailing list