[PATCH] D77780: Remove -implicit-check-not=foo from X86/disassemble-functions.test

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 23:58:02 PDT 2020


xiangzhangllvm added a comment.

   5 Disassembly of section .text:
   6
   7 0000000000000000 foo:
   8        0: 55                            pushq   %rbp
   9        1: 48 89 e5                      movq    %rsp, %rbp
  10        4: 8b 04 25 a8 00 00 00          movl    168, %eax
  11        b: 5d                            popq    %rbp
  12        c: c3                            retq
  13        d: 0f 1f 00                      nopl    (%rax)
  14
  15 Disassembly of section .anothertext:
  16
  17 0000000000000010 main:
  18       10: 55                            pushq   %rbp
  19       11: 48 89 e5                      movq    %rsp, %rbp
  20       14: 48 83 ec 20                   subq    $32, %rsp
  21       18: 48 8d 04 25 a8 00 00 00       leaq    168, %rax
  22       20: c7 45 fc 00 00 00 00          movl    $0, -4(%rbp)
  23       27: 48 89 45 f0                   movq    %rax, -16(%rbp)
  24       2b: 48 8b 45 f0                   movq    -16(%rbp), %rax
  25       2f: 8b 08                         movl    (%rax), %ecx
  26       31: 89 4d ec                      movl    %ecx, -20(%rbp)
  27       34: e8 c7 ff ff ff                callq   -57 </tmp/a.c>        // =call 0x00000000,   someone reflected there will be <foo> // objdump will dump "foo" here
  28       39: 8b 4d ec                      movl    -20(%rbp), %ecx
  29       3c: 01 c1                         addl    %eax, %ecx
  30       3e: 89 c8                         movl    %ecx, %eax
  31       40: 48 83 c4 20                   addq    $32, %rsp
  32       44: 5d                            popq    %rbp


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77780/new/

https://reviews.llvm.org/D77780





More information about the llvm-commits mailing list