diff options
author | bernhardu <bernhardu@mailbox.org> | 2025-06-02 08:59:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-02 08:59:43 +0200 |
commit | 32973408bcb28acac897f4e43cb8f64a4b64529e (patch) | |
tree | 9f425192cef79392c8ad25f8e7e795806edab645 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | e49738b3acf410f16b51753d71c88a29dd8fcf77 (diff) | |
download | llvm-32973408bcb28acac897f4e43cb8f64a4b64529e.zip llvm-32973408bcb28acac897f4e43cb8f64a4b64529e.tar.gz llvm-32973408bcb28acac897f4e43cb8f64a4b64529e.tar.bz2 |
[win/asan] GetInstructionSize: Support `48 bX` movabsq instructions. (#141625)
Created for Wine's memset by clang or mingw-gcc,
the latter places it quite at the start of the function:
```
0x00006ffffb67e210 <memset+0>: 0f b6 d2 movzbl %dl,%edx
0x00006ffffb67e213 <memset+3>: 48 b8 01 01 01 01 01 01 01 01 movabs $0x101010101010101,%rax
```
`3200 uint64_t v = 0x101010101010101ull * (unsigned char)c;`
https://gitlab.winehq.org/wine/wine/-/blob/290fd532ee7376442d272e3833528256bfe5e9dc/dlls/msvcrt/string.c#L3200
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions