[Lldb-commits] [lldb] ee05138 - [lldb/test] Revert changes to debug-names-compressed.cpp

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 16 09:57:59 PST 2020


Author: Pavel Labath
Date: 2020-01-16T18:56:26+01:00
New Revision: ee05138515abee2a349ad2fdc8320ab17ddfde12

URL: https://github.com/llvm/llvm-project/commit/ee05138515abee2a349ad2fdc8320ab17ddfde12
DIFF: https://github.com/llvm/llvm-project/commit/ee05138515abee2a349ad2fdc8320ab17ddfde12.diff

LOG: [lldb/test] Revert changes to debug-names-compressed.cpp

With the changes in 15a6df52efa, the test is failing in some
configurations. Reverting while I investigate

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp b/lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp
index 4dcbb4715220..aeb0ff1d01b1 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp
+++ b/lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp
@@ -3,15 +3,12 @@
 
 // REQUIRES: lld, zlib
 
-// RUN: %clang -c -o %t.o --target=x86_64-pc-linux -gdwarf-5 -gpubnames %s
+// RUN: %clang -g -c -o %t.o --target=x86_64-pc-linux -mllvm -accel-tables=Dwarf %s
 // RUN: ld.lld %t.o -o %t --compress-debug-sections=zlib
-// RUN: llvm-readobj --sections %t | FileCheck %s --check-prefix NAMES
 // RUN: lldb-test symbols --find=variable --name=foo %t | FileCheck %s
 
-// NAMES: Name: .debug_names
-
 // CHECK: Found 1 variables:
 int foo;
-// CHECK-DAG: name = "foo", type = {{.*}} (int), {{.*}} decl = debug-names-compressed.cpp:[[@LINE-1]]
+// ONE-DAG: name = "foo", type = {{.*}} (int), {{.*}} decl = debug-names-compressed.cpp:[[@LINE-1]]
 
 extern "C" void _start() {}


        


More information about the lldb-commits mailing list