]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/relocatable-build-id.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / relocatable-build-id.s
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
3 # RUN: ld.lld --build-id=0xcafebabe -o %t2.o %t1.o -r
4 # RUN: ld.lld --build-id=0xdeadbeef -o %t.exe %t2.o
5 # RUN: llvm-objdump -s %t.exe | FileCheck %s
6
7 # CHECK-NOT: cafebabe
8 # CHECK: deadbeef
9
10 .global _start
11 _start:
12   ret