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 | 265f538b2c8b9e19196ce8a78a3da78671eb6f2b (patch) | |
| tree | e55a0e00755c9ed0140287947874661d87d74b35 /lib/CodeGen/CGExpr.cpp | |
| parent | 0d729105ecb50a7e3cbe6e57c29149edfa5cf05a (diff) | |
| download | clang-265f538b2c8b9e19196ce8a78a3da78671eb6f2b.tar.gz clang-265f538b2c8b9e19196ce8a78a3da78671eb6f2b.tar.bz2 clang-265f538b2c8b9e19196ce8a78a3da78671eb6f2b.tar.xz | |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
