X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FDebugInfo%2FX86%2Fdebug-loc-asan.ll;h=a30c13f0684b452d303647ae657e651447a72c17;hb=666ef776b3ca5cf45e37e0c01e6af9f15a1f9c9c;hp=f288343c272b29d24a84fb932f583ef67edff4c5;hpb=1ef70ff39ba399111c83efc270cfb07207ce89bb;p=oota-llvm.git diff --git a/test/DebugInfo/X86/debug-loc-asan.ll b/test/DebugInfo/X86/debug-loc-asan.ll index f288343c272..a30c13f0684 100644 --- a/test/DebugInfo/X86/debug-loc-asan.ll +++ b/test/DebugInfo/X86/debug-loc-asan.ll @@ -21,10 +21,10 @@ ; CHECK: .Ldebug_loc{{[0-9]+}}: ; We expect two location ranges for the variable. -; First, it is stored in %rdx: +; First, its address is stored in %rdi: ; CHECK: .quad .Lfunc_begin0-.Lfunc_begin0 ; CHECK-NEXT: .quad [[START_LABEL]]-.Lfunc_begin0 -; CHECK: DW_OP_reg5 +; CHECK: DW_OP_breg5 ; Then it's addressed via %rsp: ; CHECK: .quad [[START_LABEL]]-.Lfunc_begin0 @@ -46,7 +46,7 @@ define i32 @_Z3bari(i32 %y) #0 { entry: %MyAlloca = alloca [64 x i8], align 32 %0 = ptrtoint [64 x i8]* %MyAlloca to i64 - %1 = load i32* @__asan_option_detect_stack_use_after_return + %1 = load i32, i32* @__asan_option_detect_stack_use_after_return %2 = icmp ne i32 %1, 0 br i1 %2, label %3, label %5 @@ -75,9 +75,9 @@ entry: %19 = lshr i64 %18, 3 %20 = add i64 %19, 2147450880 %21 = inttoptr i64 %20 to i8* - %22 = load i8* %21 + %22 = load i8, i8* %21 %23 = icmp ne i8 %22, 0 - call void @llvm.dbg.declare(metadata i32* %8, metadata !12, metadata !14) + call void @llvm.dbg.declare(metadata i32* %8, metadata !12, metadata !14), !dbg !MDLocation(scope: !4) br i1 %23, label %24, label %30 ;