-
Notifications
You must be signed in to change notification settings - Fork 284
Closed
Description
I don't yet have a reproducer for this issue but it seems that there is a design / architectural problem.
-
symtab2gbonly loads thejson_symtablanguage:
register_language(new_json_symtab_language); -
It calls linking. The error reporting of linking calls
from_typewhich uses the mode of the symbol:
linkingt::copy_symbols
linkingt::duplicate_non_type_symbol
linkingt::duplicate_code_symbol
linkingt::detailed_conflict_report
linkingt::detailed_conflict_report_rec
linkingt::type_to_string_verbose
from_type -
At the moment having the mode as anything other than
"json_symtab"will result in an invariant failure.
So, potential work-arounds or solutions:
- Set the mode of all inputs using this interface to
"json_symtab"( paging @danielsn for the connection to RFC: Language mode for Rust #6219 ). - Add the C language interface to
symtab2gband set the mode toID_C(as it is at the moment). - Create modes for the various languages using this front-end and load all of them.
( See also #6219 (comment) )
Metadata
Metadata
Assignees
Labels
No labels