summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/OptBisect.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-03-15 16:24:52 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-03-15 16:24:52 +0000
commitd44a01aae60d359c9abe8bfbae78a239428ebfe1 (patch)
treee21d07afe00f478253abc6863ba9284f59b72b4c /llvm/lib/IR/OptBisect.cpp
parent018eedd9a57758bc8d7616769dbf1405dceaff57 (diff)
downloadbcm5719-llvm-d44a01aae60d359c9abe8bfbae78a239428ebfe1.tar.gz
bcm5719-llvm-d44a01aae60d359c9abe8bfbae78a239428ebfe1.zip
CodeGen: Use the source filename as the argument to .file, rather than the module ID.
Using the module ID here is wrong for a couple of reasons: 1) The module ID is not persisted, so we can end up with different object file contents given the same input file (for example if the same file is accessed via different paths). 2) With ThinLTO the module ID field may contain the path to a bitcode file, which is incorrect, as the .file argument is supposed to contain the path to a source file. Differential Revision: https://reviews.llvm.org/D30584 llvm-svn: 297853
Diffstat (limited to 'llvm/lib/IR/OptBisect.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud