diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-13 20:32:07 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-13 20:32:07 +0000 |
commit | 65a8e0b69fd0e376d0734697b5203547417f2909 (patch) | |
tree | e0aede61fb18afcb86cd65ec2a6a7e18a5a90f39 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | ef8bf4368ec62eac1948f2c5c0f05f672d4fe1b1 (diff) | |
download | llvm-65a8e0b69fd0e376d0734697b5203547417f2909.zip llvm-65a8e0b69fd0e376d0734697b5203547417f2909.tar.gz llvm-65a8e0b69fd0e376d0734697b5203547417f2909.tar.bz2 |
[ms-inline asm] Have patchMSAsmStrings() return a vector or AsmStrings.
The AsmParser expects a single asm instruction, but valid ms-style inline asm
statements may contain multiple instructions.
This happens with asm blocks
__asm {
mov ebx, eax
mov ecx, ebx
}
or when multiple asm statements are adjacent to one another
__asm mov ebx, eax
__asm mov ecx, ebx
and
__asm mov ebx, eax __asm mov ecx, ebx
Currently, asm blocks are not properly handled.
llvm-svn: 161780
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions