... Why would you want to do this?

-eric
On Apr 4, 2014 12:26 AM, "Lubos Lunak" <[email protected]> wrote:

>
>  The option -split-dwarf-file is passed by the driver to the compiler after
> processing -Xclang options, thus overriding any possible explicitly
> specified
> option:
>
> $ clang++ -c -gsplit-dwarf a.cpp -o a.o -Xclang -split-dwarf-file -Xclang
> b.dwo
> $ readelf -wi a.o | grep dwo_name
>     <c>   DW_AT_GNU_dwo_name: (indirect string, offset: 0x0): a.dwo
>
>  This is because the driver invokes the compiler as
> /usr/bin/clang-3.4 -cc1 ... -split-dwarf-file b.dwo -o a.o -x c++
> a.cpp -split-dwarf-file a.dwo
>
>  The attached patch fixes this. Ok to push?
>
> --
>  Lubos Lunak
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to