Repository navigation
Avoid diagnostic code crashing when external front-ends use "C" mode - #6233
Conversation
27236aa to
1164e6c
Compare
|
Could we get a regression test to show the issue this fixes? |
Codecov Report
@@ Coverage Diff @@
## develop #6233 +/- ##
========================================
Coverage 76.18% 76.18%
========================================
Files 1484 1484
Lines 162092 162093 +1
========================================
+ Hits 123495 123496 +1
Misses 38597 38597
Continue to review full report at Codecov.
|
|
@thomasspriggs not easily. At the moment the only way I have to trigger #6223 involves a bug in |
|
Happy to approve as a work around. |
|
Thanks @TGWDB . As this is a work-around I kind-of don't want to merge it and I hope that @tautschnig @peterschrammel @chrisr-diffblue or @kroening could comment on #6223 ( or #6219 ) to help pick a non-hack direction for this. |
|
@chrisr-diffblue thanks for your thoughts. I agree on reasons not to do it. I will ask on #6219 about a schedule and if it seems likely there will be changes soon then I will hold off merging this. |
ff44c36 to
5f2f25a
Compare
At the time of writing both the rust and the Ada external front-ends generate .json_symtab files that use the "C" mode. If the ansi-c front-end is not loaded then these will crash when reporting some linking errors.
5f2f25a to
7f928db
Compare
|
@thomasspriggs I have tried to create non-buggy test cases for this but have not yet succeeded. |
This is a work-around for #6223 until #6219 gets adequately resolved. I am very open to other solutions because this is a hack.