summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-06-14 21:14:36 +0000
committerdim <dim@FreeBSD.org>2013-06-14 21:14:36 +0000
commitcf9062e883025a5daaa1fe317f312ac8837a1c33 (patch)
tree781bf1967994b60ada7b5895c2131416e55eceac /Makefile.inc1
parenteb35645bccd24b52e8c14d7eae48f079eac6c812 (diff)
downloadFreeBSD-src-cf9062e883025a5daaa1fe317f312ac8837a1c33.zip
FreeBSD-src-cf9062e883025a5daaa1fe317f312ac8837a1c33.tar.gz
Pull in r181620 from llvm trunk:
[ms-inline asm] Fix a crasher when we fail on a direct match. The issue was that the MatchingInlineAsm and VariantID args to the MatchInstructionImpl function weren't being set properly. Specifically, when parsing intel syntax, the parser thought it was parsing inline assembly in the at&t dialect; that will never be the case. The crash was caused when the emitter tried to emit the instruction, but the operands weren't set. When parsing inline assembly we only set the opcode, not the operands, which is used to lookup the instruction descriptor. rdar://13854391 and PR15945 Also, this commit reverts r176036. Now that we're correctly parsing the intel syntax the pushad/popad don't match properly. I've reimplemented that fix using a MnemonicAlias. Pull in r183907 from llvm trunk: X86: Make the cmov aliases work with intel syntax too. These commits make a number of Intel-style inline assembly mnemonics aliases (occurring in several ports) work properly, which could cause assertions otherwise. Reported by: kwm, bapt
Diffstat (limited to 'Makefile.inc1')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud