summaryrefslogtreecommitdiff
path: root/test/DebugInfo
diff options
context:
space:
mode:
authorLouis Gerbarg <lgg@apple.com>2014-06-16 20:31:50 +0000
committerLouis Gerbarg <lgg@apple.com>2014-06-16 20:31:50 +0000
commit163eb0990cc466396ea9beb9a481c941a978b62a (patch)
treea27a02c6ca130517675ad941bcaa92424f24784e /test/DebugInfo
parentbaf9879290e81105719e15481c26749d82f32327 (diff)
downloadllvm-163eb0990cc466396ea9beb9a481c941a978b62a.tar.gz
llvm-163eb0990cc466396ea9beb9a481c941a978b62a.tar.bz2
llvm-163eb0990cc466396ea9beb9a481c941a978b62a.tar.xz
Improve comments for r211040
Added comment to clarify why we r211040 choose to bail out of fast isel instead of generating a more complicated relocation, and fix mislabelled register in the comments of the asan test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r--test/DebugInfo/X86/debug-loc-asan.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/debug-loc-asan.ll b/test/DebugInfo/X86/debug-loc-asan.ll
index 8730cf9d36..0e02c67871 100644
--- a/test/DebugInfo/X86/debug-loc-asan.ll
+++ b/test/DebugInfo/X86/debug-loc-asan.ll
@@ -9,7 +9,7 @@
; }
; with "clang++ -S -emit-llvm -fsanitize=address -O0 -g test.cc"
-; First, argument variable "y" resides in %rdi:
+; First, argument variable "y" resides in %rdx:
; CHECK: DEBUG_VALUE: bar:y <- RDX
; Then its address is stored in a location on a stack:
@@ -21,7 +21,7 @@
; CHECK: .Ldebug_loc{{[0-9]+}}:
; We expect two location ranges for the variable.
-; First, it is stored in %rdi:
+; First, it is stored in %rdx:
; CHECK: .Lset{{[0-9]+}} = .Lfunc_begin0-.Lfunc_begin0
; CHECK-NEXT: .quad .Lset{{[0-9]+}}
; CHECK-NEXT: .Lset{{[0-9]+}} = [[START_LABEL]]-.Lfunc_begin0