From 2e74ddea3a04577611c0562e15982ac44307c851 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Wed, 4 Mar 2015 17:39:59 +0000 Subject: [PATCH] Update the out-of-date dwarf expressions in these testcases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231261 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/debug-info-blocks.ll | 4 ++-- test/DebugInfo/X86/debug-info-block-captured-self.ll | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CodeGen/ARM/debug-info-blocks.ll b/test/CodeGen/ARM/debug-info-blocks.ll index b205291856e..96876b1c4af 100644 --- a/test/CodeGen/ARM/debug-info-blocks.ll +++ b/test/CodeGen/ARM/debug-info-blocks.ll @@ -259,5 +259,5 @@ define hidden void @foobar_func_block_invoke_0(i8* %.block_descriptor, %0* %load !161 = !{!"header2.h", !"/Volumes/Sandbox/llvm"} !162 = !{i32 1, !"Debug Info Version", i32 3} !163 = !MDExpression(DW_OP_plus, 20, DW_OP_deref, DW_OP_plus, 4, DW_OP_deref, DW_OP_plus, 24) -!164 = !MDExpression(DW_OP_plus, 24) -!165 = !MDExpression(DW_OP_plus, 28) +!164 = !MDExpression(DW_OP_deref, DW_OP_plus, 24) +!165 = !MDExpression(DW_OP_deref, DW_OP_plus, 28) diff --git a/test/DebugInfo/X86/debug-info-block-captured-self.ll b/test/DebugInfo/X86/debug-info-block-captured-self.ll index 9919de4ec63..d6c1fc00e89 100644 --- a/test/DebugInfo/X86/debug-info-block-captured-self.ll +++ b/test/DebugInfo/X86/debug-info-block-captured-self.ll @@ -108,5 +108,5 @@ define internal void @"__24-[Main initWithContext:]_block_invoke_2"(i8* %.block_ !106 = !MDLocation(line: 40, scope: !42) !107 = !MDFile(filename: "llvm/tools/clang/test/CodeGenObjC/debug-info-block-captured-self.m", directory: "") !108 = !{i32 1, !"Debug Info Version", i32 3} -!109 = !MDExpression(DW_OP_plus, 32) -!110 = !MDExpression(DW_OP_plus, 32) +!109 = !MDExpression(DW_OP_deref, DW_OP_plus, 32) +!110 = !MDExpression(DW_OP_deref, DW_OP_plus, 32) -- 2.34.1