summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-16 18:26:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-16 18:26:16 +0000
commitbab2afbfbed646da705a12e9a74f113d1e628faa (patch)
tree549184008b239a1d280e6f37dc92e1f648a0ee49 /clang/lib/CodeGen/CodeGenModule.cpp
parent62082b7e0b0b7a299524f6191ddbfd62ed6b17d8 (diff)
downloadbcm5719-llvm-bab2afbfbed646da705a12e9a74f113d1e628faa.tar.gz
bcm5719-llvm-bab2afbfbed646da705a12e9a74f113d1e628faa.zip
Fix MCDataAtom never calling remap when adding data.
This patch fixes a small mistake in MCDataAtom::addData() where it doesn't ever call remap(): - if (Data.size() > Begin - End - 1) + if (Data.size() > End + 1 - Begin) remap(Begin, End + 1); This is currently not visible because of another bug is the disassembler, so the patch includes a unit test. Patch by Stephen Checkoway. llvm-svn: 192823
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud