https://bugs.llvm.org/show_bug.cgi?id=41038
Bug ID: 41038
Summary: Crash with debug entries not fitting into 2^16 bytes
(dwarf < 5)
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: DebugInfo
Assignee: unassignedb...@nondot.org
Reporter: florian_h...@apple.com
CC: jdevliegh...@apple.com, keith.wal...@arm.com,
llvm-bugs@lists.llvm.org,
paul_robin...@playstation.sony.com
Created attachment 21584
--> https://bugs.llvm.org/attachment.cgi?id=21584&action=edit
exceeds size limit with dwarf < 5
Currently LLVM crashes when we have too many debug values and exceed the 2^16
byte size in DwarfDebug::emitDebugLocEntryLocation.
Attached is a reduced example (still has around 16k llvm.dbg.value calls),
which crashes with `clang -Os`.
I am happy to look into the issue, but I would appreciate your thoughts on what
to do if we have too many debug entries.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs