summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorAntonio Maiorano <amaiorano@gmail.com>2016-12-22 05:10:07 +0000
committerAntonio Maiorano <amaiorano@gmail.com>2016-12-22 05:10:07 +0000
commit34c037641b74dda8d7c10d35ffa476162c0125a6 (patch)
tree4184426364087f8b6e63e47d48f76e7cb709bdf5 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parent7323b4b78898c2b7fbd8424d218e3a755946aae2 (diff)
downloadbcm5719-llvm-34c037641b74dda8d7c10d35ffa476162c0125a6.tar.gz
bcm5719-llvm-34c037641b74dda8d7c10d35ffa476162c0125a6.zip
Make FormatStyle.GetStyleOfFile test work on MSVC
Modify getStyle to use vfs::FileSystem::makeAbsolute just like FS.addFile does, rather than sys::fs::make_absolute. The latter gets the CWD from the platform, while the former expects it to be set by the client, causing a mismatch when converting relative paths to absolute. Differential Revision: https://reviews.llvm.org/D27971 llvm-svn: 290319
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud