From 23c01665c8a06f6edc894ed3a25251814cd866ed Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 14 Sep 2017 17:27:03 +0000 Subject: [PATCH] Adapt more testcases for llvm-dwarfdump changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313275 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/DebugInfo/Generic/empty.ll | 4 +--- test/DebugInfo/dwarfdump-macho-universal.test | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/test/DebugInfo/Generic/empty.ll b/test/DebugInfo/Generic/empty.ll index 122b48cf2d1..3488fe5aeca 100644 --- a/test/DebugInfo/Generic/empty.ll +++ b/test/DebugInfo/Generic/empty.ll @@ -12,9 +12,7 @@ ; CHECK: total_length: 0x00000019 ; CHECK-NOT: file_names[ -; CHECK: .debug_pubnames contents: -; CHECK-NOT: {{^}}0x - +; CHECK-NOT: .debug_pubnames contents: ; CHECK: contents: ; Don't emit DW_AT_addr_base when there are no addresses. diff --git a/test/DebugInfo/dwarfdump-macho-universal.test b/test/DebugInfo/dwarfdump-macho-universal.test index 4b203db6d7a..986decb7628 100644 --- a/test/DebugInfo/dwarfdump-macho-universal.test +++ b/test/DebugInfo/dwarfdump-macho-universal.test @@ -1,17 +1,17 @@ Reuse a test input from llvm-dsymutil, it's perfect for what we want to exercise RUN: llvm-dwarfdump -v %S/Inputs/fat-test.o --debug-info | FileCheck %s -CHECK: fat-test.o (x86_64): file format Mach-O 64-bit x86-64 +CHECK: fat-test.o(x86_64): file format Mach-O 64-bit x86-64 CHECK: DW_TAG_variable CHECK-NOT: {{NULL|DW_TAG}} CHECK: DW_AT_name {{.*}} "x86_64_var" -CHECK: fat-test.o (i386): file format Mach-O 32-bit i386 +CHECK: fat-test.o(i386): file format Mach-O 32-bit i386 CHECK: DW_TAG_variable CHECK-NOT: {{NULL|DW_TAG}} CHECK: DW_AT_name {{.*}} "i386_var" -CHECK: fat-test.o (x86_64h): file format Mach-O 64-bit x86-64 +CHECK: fat-test.o(x86_64h): file format Mach-O 64-bit x86-64 CHECK: DW_TAG_variable CHECK-NOT: {{NULL|DW_TAG}} CHECK: DW_AT_name {{.*}} "x86_64h_var" -- 2.11.0