aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2017-09-12 16:54:53 +0000
committerRaphael Isemann <teemperor@gmail.com>2017-09-12 16:54:53 +0000
commitabc3d04e47e954f6d1b12d57b1133ef38520e506 (patch)
tree5edc7e584668bcb677de9a7ca576f83a756b3b97 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent4d5601608dcc3df3ef0db126c55c402160fba040 (diff)
downloadllvm-abc3d04e47e954f6d1b12d57b1133ef38520e506.zip
llvm-abc3d04e47e954f6d1b12d57b1133ef38520e506.tar.gz
llvm-abc3d04e47e954f6d1b12d57b1133ef38520e506.tar.bz2
Use the VFS from the CompilerInvocation by default
Summary: The CompilerInstance should create its default VFS from its CompilerInvocation. Right now the user has to manually create the VFS before creating the FileManager even though `-ivfsoverlay file.yaml` was passed via the CompilerInvocation (which is exactly how we worked around this issue in `FrontendAction.cpp` so far). This patch uses the invocation's VFS by default and also tests this behavior now from the point of view of a program that uses the clang API. Reviewers: benlangmuir, v.g.vassilev Reviewed By: v.g.vassilev Subscribers: mgorny, cfe-commits, v.g.vassilev Differential Revision: https://reviews.llvm.org/D37416 llvm-svn: 313049
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions