aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-11-19 01:02:22 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-11-19 01:02:22 +0000
commit22df0eb2e81015afa9d74e04ab83e6dc9f21f551 (patch)
tree6c9fec6ffcafbde5e83ef3946fd12d885c56d54e /llvm/lib/Object/COFFObjectFile.cpp
parent81b73f3020af1f68457362bc5177a90d629e5a74 (diff)
downloadllvm-22df0eb2e81015afa9d74e04ab83e6dc9f21f551.zip
llvm-22df0eb2e81015afa9d74e04ab83e6dc9f21f551.tar.gz
llvm-22df0eb2e81015afa9d74e04ab83e6dc9f21f551.tar.bz2
Use a memcpy so that type based alias analysis sees the change.
The other option would be to do something like if (that.isSingleWord()) VAL = that.VAL; else pVal = that.pVal This bug was causing 86TTI::getIntImmCost to be miscompiled in a LTO bootstrap in stage2, causing the build of stage3 to fail. LLVM is getting quiet good at exploiting this. Not sure if there is anything a sanitizer could do to help llvm-svn: 222294
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions