2 # RUN: env ASAN_OPTIONS=detect_leaks=0 llvm-objdump -macho -archive-headers -section __LLVM,__bundle %p/Inputs/LLVM-bundle.macho-x86_64 | FileCheck %s
4 # CHECK: For (__LLVM,__bundle) section: xar header
5 # CHECK: magic XAR_HEADER_MAGIC
8 # CHECK: toc_length_compressed 542
9 # CHECK: toc_length_uncompressed 1250
10 # CHECK: cksum_alg XAR_CKSUM_SHA1
11 # CHECK: For (__LLVM,__bundle) section: xar archive files:
13 # CHECK: For (__LLVM,__bundle) section: xar table of contents:
14 # CHECK: <?xml version="1.0" encoding="UTF-8"?>
16 # CHECK: <subdoc subdoc_name="Ld">
17 # CHECK: <version>1.0</version>
18 # CHECK: <architecture>x86_64</architecture>
19 # CHECK: <platform>MacOSX</platform>
20 # CHECK: <sdkversion>10.11.0</sdkversion>
22 # CHECK: <lib>libSystem.dylib</lib>
24 # CHECK: <link-options>
25 # CHECK: <option>-execute</option>
26 # CHECK: <option>-macosx_version_min</option>
27 # CHECK: <option>10.11.0</option>
28 # CHECK: <option>-e</option>
29 # CHECK: <option>_main</option>
30 # CHECK: <option>-executable_path</option>
31 # CHECK: <option>hello</option>
32 # CHECK: </link-options>
35 # CHECK: <checksum style="sha1">
36 # CHECK: <size>20</size>
37 # CHECK: <offset>0</offset>
39 # CHECK: <creation-time>2016-05-23T20:49:10</creation-time>
40 # CHECK: <file id="1">
41 # CHECK: <name>1</name>
42 # CHECK: <type>file</type>
44 # CHECK: <archived-checksum style="sha1">a319940ff5f5248ca8b44cf7b4b65e7dd49a47ab</archived-checksum>
45 # CHECK: <extracted-checksum style="sha1">a319940ff5f5248ca8b44cf7b4b65e7dd49a47ab</extracted-checksum>
46 # CHECK: <size>1664</size>
47 # CHECK: <offset>20</offset>
48 # CHECK: <encoding style="application/octet-stream"/>
49 # CHECK: <length>1664</length>
51 # CHECK: <file-type>Bitcode</file-type>
53 # CHECK: <cmd>-triple</cmd>
54 # CHECK: <cmd>x86_64-apple-macosx10.11.0</cmd>
55 # CHECK: <cmd>-emit-obj</cmd>
56 # CHECK: <cmd>-disable-llvm-optzns</cmd>