On Oct 17, 2011, at 2:33 PM, Nick Lewycky wrote:

> It can, but that's missing the point :) Clang emits separate file and 
> directory, the .bc has the separate file and directory, we currently join 
> them again here so that the asm stream can split them again. I'm removing 
> that extra join+split pair.
> 
> Going forward, the split could produce different results. I want to encode 
> "clang -isystem foo/bar" + "#include <x/y.h>" into
>   directory entry: foo/bar
>   file entry: x/y.h
> and there's no way that the resplitting could know that as opposed to "foo" + 
> "bar/x/y.h" and "foo/bar/x" + "y.h".
> 
> Also, this more closely represents what really goes into the debug info, 
> there's a dir entry with the dirname and a file entry which has the filename 
> and the dir entry number.

makes sense!
-
Devang
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to