This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Query driver reads stderr and passes driver as first argument
ClosedPublic

Authored by kadircet on Jul 4 2019, 1:22 AM.

Details

Summary

gcc invokes cc1 through a path deduced from argv[0] therefore it must
be correctly set.
Also it prints the search path to stderr not stdout, this also applies to clang.

Diff Detail

Repository
rL LLVM

Event Timeline

kadircet created this revision.Jul 4 2019, 1:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2019, 1:22 AM
sammccall accepted this revision.Jul 4 2019, 4:18 AM
This revision is now accepted and ready to land.Jul 4 2019, 4:18 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 4 2019, 4:36 AM