This is an archive of the discontinued LLVM Phabricator instance.

Fix failure to find header in module build
AbandonedPublic

Authored by jtsoftware on Jan 10 2014, 3:16 PM.

Details

Reviewers
rsmith
Summary

This is a stab at fixing the problem where a module build fails to find a header in the case where relative -I header search paths are used. I don't know if it's the right approach, but it passes the tests and fixes my example using relative paths in -I options.

Diff Detail

Event Timeline

Oh, I forgot to add a test. I'll have one shortly.

Actually, I'm not sure how to do a regression test, as the tests require absolute paths due to a possibly separate output, right? Any ideas?

jtsoftware abandoned this revision.May 5 2014, 6:18 PM

Richard Smith already fixed it.