nelhage / llama

Apache License 2.0
584 stars 24 forks source link

Use -fdebug-prefix-map to clean up debug symbols #55

Closed nelhage closed 3 years ago

nelhage commented 3 years ago

In my testing this mostly works, but GCC still emits a DW_AT_comp_dir pointing to the Lambda tempdir. That's annoyingly a bit hard to rewrite since llamacc can't know that path ahead of time. We could use a wrapper shell script, but maybe some magic syntax to make the runtime inject the absolute current path would also make sense…

Should mostly fix #54