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: unassignedb...@nondot.org
          Reporter: michaelwoeris...@posteo.net
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to