summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectMultiword.cpp
diff options
context:
space:
mode:
authorPaul Walker <paul.walker@arm.com>2019-08-16 14:17:52 +0000
committerPaul Walker <paul.walker@arm.com>2019-08-16 14:17:52 +0000
commit3ccee5f7c4087ed119dbeba537f3df1b048a4dff (patch)
tree9fd966834a0da288ea9b4d8717817addf9e78b67 /lldb/source/Commands/CommandObjectMultiword.cpp
parent9da4989c523715f2fdf7d75a8c3c4fe980fec22b (diff)
downloadbcm5719-llvm-3ccee5f7c4087ed119dbeba537f3df1b048a4dff.tar.gz
bcm5719-llvm-3ccee5f7c4087ed119dbeba537f3df1b048a4dff.zip
[AArch64InstrInfo] Stop getInstSizeInBytes returning non-zero for meta instructions.
Summary: AArch64InstrInfo::getInstSizeInBytes is incorrectly treating meta instructions (e.g. CFI_INSTRUCTION) as normal instructions and giving them a size of 4. This results in branch relaxation calculating block sizes wrong. Branch relaxation also considers alignment and thus a single mistake can result in later blocks being incorrectly sized even when they themselves do not contain meta instructions. The net result is we might not relax a branch whose destination is not within range. Reviewers: nickdesaulniers, peter.smith Reviewed By: peter.smith Subscribers: javed.absar, kristof.beyls, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66337 llvm-svn: 369111
Diffstat (limited to 'lldb/source/Commands/CommandObjectMultiword.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud