[all-commits] [llvm/llvm-project] b15f3f: [X86] Fix disassembly of x86-64 GDTLS code sequence
Andrew Ng via All-commits
all-commits at lists.llvm.org
Wed Feb 3 14:17:32 PST 2021
Branch: refs/heads/release/12.x
Home: https://github.com/llvm/llvm-project
Commit: b15f3fc5c71dc8a9db7e931e2922a065293e4a64
https://github.com/llvm/llvm-project/commit/b15f3fc5c71dc8a9db7e931e2922a065293e4a64
Author: Andrew Ng <andrew.ng at sony.com>
Date: 2021-02-03 (Wed, 03 Feb 2021)
Changed paths:
M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
M llvm/test/MC/Disassembler/X86/x86-64.txt
A llvm/test/tools/llvm-objdump/X86/disassemble-gdtls.s
Log Message:
-----------
[X86] Fix disassembly of x86-64 GDTLS code sequence
For x86-64 the REX.w prefix takes precedence over any other size
override (i.e. 0x66). Therefore, for x86-64 when REX.w is present set
'hasOpSize' to false to ensure that any size override is ignored.
Fixes PR48901.
Differential Revision: https://reviews.llvm.org/D95682
(cherry picked from commit 94fedd266125a5425aa33e11332bf414f0b6dc35)
More information about the All-commits
mailing list