[LLVMbugs] [Bug 11022] New: Debug output might be endian-unaware

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 26 21:13:37 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=11022

           Summary: Debug output might be endian-unaware
           Product: new-bugs
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: geek4civic at gmail.com
                CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu


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

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list