https://bugs.llvm.org/show_bug.cgi?id=42138

Zhiwei Chen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #13 from Zhiwei Chen <[email protected]> ---
It can be reproduced using the PowerParser.ii.cc by clang
7809fa20400000fd40b4a4b56696c7fbcd0f0fa9 (committed at 2021-01-06). So I decide
to reopen it.

> clang -w -O1 -c PowerParser.ii.cc -o dbg.o -g
> clang -w -O1 -c PowerParser.ii.cc -o rel.o

Then

> objdump -d dbg.o > dbg_objdump
> objdump -d rel.o > rel_objdump
> diff dbg_objdump rel_objdump

2c2
< dbg.o:     file format elf64-x86-64
---
> rel.o:     file format elf64-x86-64
26,29c26,29
<   40: eb 0e                   jmp    50 <_ZN1k1lEv+0x50>
<   42: 66 2e 0f 1f 84 00 00    nopw   %cs:0x0(%rax,%rax,1)
<   49: 00 00 00
<   4c: 0f 1f 40 00             nopl   0x0(%rax)
---
>   40: e9 0b 00 00 00          jmpq   50 <_ZN1k1lEv+0x50>
>   45: 66 2e 0f 1f 84 00 00    nopw   %cs:0x0(%rax,%rax,1)
>   4c: 00 00 00
>   4f: 90                      nop

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to