summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-05-04 18:19:52 +0000
committerReid Kleckner <rnk@google.com>2017-05-04 18:19:52 +0000
commit6d2ea6ec809d7c648c7b31ae195753b5507e7169 (patch)
tree7fb28c065501b35cd7d0baa425b0e0aa9baa8c1c /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp
parent142cb83768ffd781a1edb21c072120fc34dc7fa0 (diff)
downloadbcm5719-llvm-6d2ea6ec809d7c648c7b31ae195753b5507e7169.tar.gz
bcm5719-llvm-6d2ea6ec809d7c648c7b31ae195753b5507e7169.zip
[ms-inline-asm] Use the frontend size only for ambiguous instructions
This avoids problems on code like this: char buf[16]; __asm { movups xmm0, [buf] mov [buf], eax } The frontend size in this case (1) is wrong, and the register makes the instruction matching unambiguous. There are also enough bytes available that we shouldn't complain to the user that they are potentially using an incorrectly sized instruction to access the variable. Supersedes D32636 and D26586 and fixes PR28266 llvm-svn: 302179
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud