Skip to content

Debug output might be endian-unaware #11394

@llvmbot

Description

@llvmbot
Bugzilla Link 11022
Resolution FIXED
Resolved on Nov 01, 2011 07:45
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @echristo

Extended Description

On ppc-linux with llvm/test/CodeGen/X86/dbg-i128-const.ll, DW_AT_const_value is emitted as host-endianness-dependent (not target-dependent).

$ llc -mtriple=x86_64-linux < llvm/test/CodeGen/X86/dbg-i128-const.ll

--- /tmp/x86.txt 2011-09-27 12:59:21.000000000 +0900
+++ /tmp/ppc.txt 2011-09-27 12:44:58.000000000 +0900
@@ -95,7 +95,6 @@
.byte 29 # DW_AT_decl_line
.long 137 # DW_AT_type
.byte 16 # DW_AT_const_value

  •   .byte   42
      .byte   0
      .byte   0
      .byte   0
    

@@ -103,6 +102,7 @@
.byte 0
.byte 0
.byte 0

  •   .byte   42
      .byte   0
      .byte   0
      .byte   0
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions