[cfe-commits] [PATCH] Use executable name from compilation database.

Manuel Klimek klimek at google.com
Mon Jan 7 12:04:25 PST 2013


On Mon, Jan 7, 2013 at 9:03 PM, Sean Silva <silvas at purdue.edu> wrote:

> On Mon, Jan 7, 2013 at 1:41 AM, Manuel Klimek <klimek at google.com> wrote:
> >   I'd like to re-iterate the idea of compiling in and overlaying the
> builtin headers, this time with two alternative tweaks that hopefully
> address Chandler's concerns:
> >   1. do normal builtin header lookup, but overlay builtin headers if we
> did not find them on  the disk
> >   2. (combinable with 1) if we produce a diagnostic that references a
> builtin header, which is in an overlay, create a temp directory, dump the
> builtin header there, and reference the actual file on disk.
> >
> >   Thoughts?
>
> As far as the changes needed for Clang, would this require changes to
> libLex? or can this be isolated in libBasic (FileManager and
> SourceManager)?
>

Good question. The overlay parts can definitely be done from libBasic, but
I don't know what the diagnostic integration would need.

Cheers,
/Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130107/e5c230ae/attachment.html>


More information about the cfe-commits mailing list