Link .ARM.exidx with corresponding text section.
[oota-llvm.git] / test / CodeGen / ARM / debug-info-sreg2.ll
index 86abc6e37e3e9bd1ed6f486e6581c79d10d44a52..ae7af0afad50ecbce1708feb694651e6e3cd37c2 100644 (file)
@@ -5,8 +5,10 @@ target triple = "thumbv7-apple-macosx10.6.7"
 
 ;CHECK: Ldebug_loc0:
 ;CHECK-NEXT:        .long   Ltmp0
-;CHECK-NEXT:        .long   Ltmp2
-;CHECK-NEXT:        .short  6                       @ Loc expr size
+;CHECK-NEXT:        .long   Ltmp1
+;CHECK-NEXT: Lset[[N:[0-9]+]] = Ltmp{{[0-9]+}}-Ltmp[[M:[0-9]+]]        @ Loc expr size
+;CHECK-NEXT:        .short  Lset[[N]]
+;CHECK-NEXT: Ltmp[[M]]:
 ;CHECK-NEXT:        .byte   144                     @ DW_OP_regx for S register
 
 define void @_Z3foov() optsize ssp {