https://bugs.llvm.org/show_bug.cgi?id=46027
Bug ID: 46027
Summary: dwarf::isCPlusPlus fails with user language
Product: libraries
Version: 10.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: DebugInfo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected],
[email protected]
Created attachment 23513
--> https://bugs.llvm.org/attachment.cgi?id=23513&action=edit
Allow user languages in `dwarf::isCPlusPlus`
When the source language is not one of the DW_LANG_*, dwarf::isCPlusPlus fails
with a call to llvm_unreachable. However, any language between DW_LANG_lo_user
and DW_LANG_hi_user should be accepted.
This is causing errors on some environments for Crystal language:
https://github.com/crystal-lang/crystal/issues/9148
I'm sending the patch with a possible solution.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs