mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Add reproduction instructions to llvm-objdump's embedded source test.
llvm-svn: 357142
This commit is contained in:
parent
1910692061
commit
1c82b308b0
@ -2,6 +2,16 @@
|
||||
; RUN: llvm-objdump -disassemble -source %p/Inputs/embedded-source | FileCheck --check-prefix=SOURCE %s
|
||||
; REQUIRES: x86-registered-target
|
||||
|
||||
; Source for embedded-source.c
|
||||
; To regenerate this file:
|
||||
; clang -gdwarf-5 -gembed-source embedded-source.c -o embedded-source
|
||||
;
|
||||
; int main(int argc, char *argv[]) {
|
||||
; int i = 2;
|
||||
; i += 1;
|
||||
; return i;
|
||||
; }
|
||||
|
||||
; LINE: main:
|
||||
; LINE-NEXT: ; {{.*}}embedded-source.c:1
|
||||
; LINE-NEXT: pushq %rbp
|
||||
|
Loading…
Reference in New Issue
Block a user