61 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=wasm32 %p/Inputs/start.s -o %t2 3# RUN: wasm-ld --build-id %t -o %t24# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DEFAULT %s5# RUN: wasm-ld --build-id=fast %t -o %t26# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DEFAULT %s7# RUN: wasm-ld --build-id %t -o %t2 --threads=18# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DEFAULT %s9 10# RUN: wasm-ld --build-id=sha1 %t -o %t211# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=SHA1 %s12# RUN: wasm-ld --build-id=sha1 %t -o %t2 --threads=113# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=SHA1 %s14 15# RUN: wasm-ld --build-id=tree %t -o %t216# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=SHA1 %s17# RUN: wasm-ld --build-id=tree %t -o %t2 --threads=118# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=SHA1 %s19 20# RUN: wasm-ld --build-id=uuid %t -o %t221# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=UUID %s22 23# RUN: wasm-ld --build-id=0x12345678 %t -o %t224# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=HEX %s25 26# RUN: wasm-ld %t -o %t227# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=NONE %s28 29# RUN: wasm-ld --build-id=sha1 --build-id=none %t -o %t230# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=NONE %s31# RUN: wasm-ld --build-id --build-id=none %t -o %t232# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=NONE %s33# RUN: wasm-ld --build-id=none --build-id %t -o %t234# RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DEFAULT %s35 36.section .data.foo,"",@37 .globl foo38 .hidden foo39 .p2align 240foo:41 .int32 142 .size foo, 443 44 45# DEFAULT: Contents of section build_id:46# DEFAULT-NEXT: 0079 103f86e6 3bb81959 2e99ffa9 acfed331 .?..;..Y.......147# DEFAULT-NEXT: 0089 3a48 49# SHA1: Contents of section build_id:50# SHA1-NEXT: 0079 1410ade4 e75d1c9d 71023465 03b7572f .....]..q.4e..W/51# SHA1-NEXT: 0089 c06c5ae0 74 .lZ.t52 53# UUID: Contents of section build_id:54# UUID-NEXT: 0079 1055 56# HEX: Contents of section build_id:57# HEX-NEXT: 0079 04123456 78 ..4Vx58 59 60# NONE-NOT: Contents of section build_id:61