[ELF] - Simplify the conflict-variable-linkage-name.s test case. [NFC]
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 18 Jun 2018 14:14:35 +0000 (14:14 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 18 Jun 2018 14:14:35 +0000 (14:14 +0000)
This is a follow up requested during post commit review for
"[lld] r333880 - [ELF] - Also use DW_AT_linkage_name when gathering information about variables for error messages."

It removes checking of the input objects since it is really excessive.

llvm-svn: 334946

lld/test/ELF/conflict-variable-linkage-name.s

index 784ab67..7e96b49 100644 (file)
@@ -1,25 +1,7 @@
 # REQUIRES: x86
 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
-# RUN: llvm-dwarfdump %t.o | FileCheck -check-prefix=INPUT %s
 # RUN: not ld.lld %t.o %t.o -o %t 2>&1 | FileCheck %s
 
-# INPUT:      DW_TAG_variable
-# INPUT-NEXT:   DW_AT_name            ("bar")
-# INPUT-NEXT:   DW_AT_type            (0x0000003d "int")
-# INPUT-NEXT:   DW_AT_external        (true)
-# INPUT-NEXT:   DW_AT_decl_file       ("/path{{/|\\}}1.cpp")
-# INPUT-NEXT:   DW_AT_decl_line       (2)
-# INPUT-NEXT:   DW_AT_location        (DW_OP_addr 0x0)
-# INPUT-NEXT:   DW_AT_linkage_name    ("_ZN1A3barE")
-# INPUT:      DW_TAG_variable
-# INPUT-NEXT:   DW_AT_name            ("bar")
-# INPUT-NEXT:   DW_AT_type            (0x0000003d "int")
-# INPUT-NEXT:   DW_AT_external        (true)
-# INPUT-NEXT:   DW_AT_decl_file       ("/path{{/|\\}}1.cpp")
-# INPUT-NEXT:   DW_AT_decl_line       (6)
-# INPUT-NEXT:   DW_AT_location        (DW_OP_addr 0x0)
-# INPUT-NEXT:   DW_AT_linkage_name    ("_ZN1Z3barE")
-
 ## Check we can report the locations of 2 different "bar" variables.
 # CHECK:      duplicate symbol: A::bar
 # CHECK-NEXT: >>> defined at 1.cpp:2