mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Refactor DebugLocDWARFExpression so it doesn't require access to the
TargetRegisterInfo. DebugLocEntry now holds a buffer with the raw bytes of the pre-calculated DWARF expression. Ought to be NFC, but it does slightly alter the output format of the textual assembly. This reapplies 230930 with a relaxed assertion in DebugLocEntry::finalize() that allows for empty DWARF expressions for constant FP values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3,13 +3,13 @@ target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-
|
||||
target triple = "thumbv7-apple-macosx10.6.7"
|
||||
|
||||
;CHECK: sub-register DW_OP_regx
|
||||
;CHECK-NEXT: ascii
|
||||
;CHECK-NEXT: 256
|
||||
;CHECK-NEXT: DW_OP_piece
|
||||
;CHECK-NEXT: byte 8
|
||||
;CHECK-NEXT: 8
|
||||
;CHECK-NEXT: sub-register DW_OP_regx
|
||||
;CHECK-NEXT: ascii
|
||||
;CHECK-NEXT: 257
|
||||
;CHECK-NEXT: DW_OP_piece
|
||||
;CHECK-NEXT: byte 8
|
||||
;CHECK-NEXT: 8
|
||||
|
||||
@.str = external constant [13 x i8]
|
||||
|
||||
|
Reference in New Issue
Block a user