mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-02 23:26:31 +00:00
Debug Info: One more bitfield bugfix. While yesterday's r240853 fixed
the DW_AT_bit_offset computation, the byte offset is in fact also endian-dependent as it needs to point to the storage unit containing the most-significant bit of the the bitfield. I'm so looking forward to emitting the endian-agnostic DWARF 3 version instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240890 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
; CHECK: DW_AT_byte_size {{.*}} (0x04)
|
||||
; CHECK: DW_AT_bit_size {{.*}} (0x1c)
|
||||
; CHECK: DW_AT_bit_offset {{.*}} (0x18)
|
||||
; CHECK: DW_AT_data_member_location {{.*}}00
|
||||
; CHECK: DW_AT_data_member_location {{.*}}04
|
||||
target datalayout = "e-m:o-p:32:32-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32"
|
||||
target triple = "thumbv7-apple-ios"
|
||||
|
||||
|
Reference in New Issue
Block a user