http://llvm.org/bugs/show_bug.cgi?id=5032
Summary: Bad DWARF encoding in EH frames.
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: miscompilation
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
I am seeing the following exception table header generated on x86_64,
GNU/Linux:
GCC_except_table1:
.byte 0x0 # Padding
.byte 0x0 # Padding
.Lexception1:
.byte 0xFF # @LPStart format (DW_EH_PE_omit)
.byte 0 # @TType format (DW_EH_PE_absptr)
.uleb128 5 # @TType base offset
Now, @TType format says to expect an absptr, but what follows is a uleb128.
I am _not_ an expert on DWARF. But I think this is wrong. Shouldn't @TType
format be DW_EH_PE_uleb128? Otherwise a dwarf reader would take @TType offset
as an absoulte pointer address.
Thanks,
Steve
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs