[cfe-dev] controlling the value of DW_AT_comp_dir

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Oct 20 07:32:11 PDT 2011


On 10/19/2011 07:42 PM, Nick Lewycky wrote:
> This is a follow-up to the thread that started here:
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110725/125101.html
>
> Would anyone object to a flag "-fdwarf-compilation-dir=..." clang flag
> that would clobber the DW_AT_comp_dir setting?
>
> This is a gcc compatibility issue for us as we're relying on our ability
> to control this part of the debug output by setting $PWD. A flag would
> also work for me.

I think a command line is fine, but could you propose the command line 
for gcc too?

> Nick

Thanks,
Rafael



More information about the cfe-dev mailing list