[llvm-bugs] [Bug 30552] New: [codeview] LLVM should emit T_CHAR instead of T_INT1 for PDB

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 28 08:42:37 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30552

            Bug ID: 30552
           Summary: [codeview] LLVM should emit T_CHAR instead of T_INT1
                    for PDB
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: michaelwoerister at posteo.net
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The T_INTx and T_UINTx types seem to not be very well supported by the MSVC
debugger, and MSVC itself emits T_CHAR and T_UCHAR for int8_t and uint8_t. We
ran across this problem in the Rust compiler:
https://github.com/rust-lang/rust/issues/36646#issuecomment-250148666

The report there contains many useful details for reference.

The relevant code in LLVM can be found here:
https://github.com/llvm-mirror/llvm/blob/864e0ffb0eb47f848aca60d1f08fc2962fbb5009/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp#L1223-L1240

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160928/e422e0d2/attachment.html>


More information about the llvm-bugs mailing list