3 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
5 # RUN: ld.lld %t.o -o %t --package-metadata='{}'
6 # RUN: llvm-readelf -n %t | FileCheck %s --check-prefixes=NOTE,FIRST
8 # RUN: ld.lld %t.o -o %t --package-metadata='{"abc":123}'
9 # RUN: llvm-readelf -n %t | FileCheck %s --check-prefixes=NOTE,SECOND
13 # NOTE-NEXT: FDO 0x{{.*}} Unknown note type: (0xcafe1a7e)
14 # FIRST-NEXT: description data: 7b 7d 00
15 # SECOND-NEXT: description data: 7b 22 61 62 63 22 3a 31 32 33 7d 00