[CFE] Incremental compilation fails for optimized-away constants #41999
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
web-eval
evaluation support on the web
Example
Javascript from initial compilation
For main function only, is here to illustrate that kernel representation has variable 'p' optimized away:
Result of evaluating ‘p’ at the breakpoint above
CompilationError: Getter not found: 'p'
Suggestions
Is it possible to introduce debug mode in CFE where the information about optimized variables (such as 'p=1') is preserved so the incremental compiler can use it?
The text was updated successfully, but these errors were encountered: