From 9ce73cfd3e939ab36ca37bb8bdecd0edb9688974 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 17 Aug 2018 18:39:19 +0000 Subject: [PATCH] Remove a hardcoded address in test/DebugInfo/X86/vla-multi.ll This relaxes a test to make it less brittle. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340068 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/DebugInfo/X86/vla-multi.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/DebugInfo/X86/vla-multi.ll b/test/DebugInfo/X86/vla-multi.ll index 6207bb65a73..c2a3f7bfb28 100644 --- a/test/DebugInfo/X86/vla-multi.ll +++ b/test/DebugInfo/X86/vla-multi.ll @@ -8,7 +8,7 @@ ;} ; ; CHECK: DW_TAG_array_type -; CHECK-NEXT: DW_AT_type (0x000000f8 "int") +; CHECK-NEXT: DW_AT_type ([[int_type_die:.*]] "int") ; CHECK-NOT: TAG ; CHECK: DW_TAG_subrange_type ; CHECK-NEXT: DW_AT_type (0x{{.*}}"__ARRAY_SIZE_TYPE__") @@ -26,7 +26,7 @@ ; CHECK-NEXT: DW_AT_type (0x{{.*}} "__ARRAY_SIZE_TYPE__") ; CHECK-NEXT: DW_AT_count (0x{{.*}}) ; CHECK: DW_TAG_array_type -; CHECK-NEXT: DW_AT_type (0x000000f8 "int") +; CHECK-NEXT: DW_AT_type ([[int_type_die]] "int") ; CHECK-NOT: TAG ; CHECK: DW_TAG_subrange_type ; CHECK-NEXT: DW_AT_type (0x{{.*}}"__ARRAY_SIZE_TYPE__")