aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-02-01 18:04:45 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-02-01 18:04:45 +0000
commitbba87168f98abe01105e0b5dd98750e59cc2b905 (patch)
tree45d46f0353d21174df78b08c2cedcc2fd79bd786 /llvm/lib/Bitcode/Reader/BitstreamReader.cpp
parent460886e3cf73c119e4773df1f141e5e5d3925fba (diff)
downloadllvm-bba87168f98abe01105e0b5dd98750e59cc2b905.zip
llvm-bba87168f98abe01105e0b5dd98750e59cc2b905.tar.gz
llvm-bba87168f98abe01105e0b5dd98750e59cc2b905.tar.bz2
Strip file path from the -o option while creating reproduce.txt.
This is a fix for Bugzilla 28579. The problem is that in --reproduce links the file path in -o option is copied verbatim. When "lld @response.txt" link is run against the extracted test case, if -o contains anything other that a plain file name, the link will likely fail because the target directory in -o may not exists. Stripping the directory path will create the output file in the top level test directory. Patch by Dmitry Mikulin! llvm-svn: 293792
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions