This is an archive of the discontinued LLVM Phabricator instance.

[Tooling/DependencyScanning] Enable passing a `vfs::FileSystem` object to `DependencyScanningTool`
ClosedPublic

Authored by akyrtzi on Jul 15 2022, 5:36 PM.

Details

Summary

Also include a unit test to validate that the vfs::FileSystem object is properly used.

Diff Detail

Event Timeline

akyrtzi created this revision.Jul 15 2022, 5:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2022, 5:36 PM
akyrtzi requested review of this revision.Jul 15 2022, 5:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2022, 5:36 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
jansvoboda11 accepted this revision.Jul 18 2022, 12:21 AM
This revision is now accepted and ready to land.Jul 18 2022, 12:21 AM
This revision was landed with ongoing or failed builds.Jul 18 2022, 9:37 AM
This revision was automatically updated to reflect the committed changes.

The added test is not passing on the AIX builder: https://lab.llvm.org/buildbot/#/builders/214/builds/2388/steps/6/logs/FAIL__Clang-Unit__83

Note that Clang on that platform generates assembly by default (then invokes the system assembler).

The added test is not passing on the AIX builder: https://lab.llvm.org/buildbot/#/builders/214/builds/2388/steps/6/logs/FAIL__Clang-Unit__83

Note that Clang on that platform generates assembly by default (then invokes the system assembler).

Sorry about that, it should be fixed via https://github.com/llvm/llvm-project/commit/d1b58cada61aa8bc44d8e8ef9c23ed12ef7b549b

Thanks for the fix; it does look promising.