# REQUIRES: xar # RUN: env ASAN_OPTIONS=detect_leaks=0 llvm-objdump --macho --archive-headers --section __LLVM,__bundle %p/Inputs/LLVM-bundle.macho-x86_64 | FileCheck %s # CHECK: For (__LLVM,__bundle) section: xar header # CHECK: magic XAR_HEADER_MAGIC # CHECK: size 28 # CHECK: version 1 # CHECK: toc_length_compressed 542 # CHECK: toc_length_uncompressed 1250 # CHECK: cksum_alg XAR_CKSUM_SHA1 # CHECK: For (__LLVM,__bundle) section: xar archive files: # CHECK: 1664 1 # CHECK: For (__LLVM,__bundle) section: xar table of contents: # CHECK: # CHECK: # CHECK: # CHECK: 1.0 # CHECK: x86_64 # CHECK: MacOSX # CHECK: 10.11.0 # CHECK: # CHECK: libSystem.dylib # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: # CHECK: 20 # CHECK: 0 # CHECK: # CHECK: 2016-05-23T20:49:10 # CHECK: # CHECK: 1 # CHECK: file # CHECK: # CHECK: a319940ff5f5248ca8b44cf7b4b65e7dd49a47ab # CHECK: a319940ff5f5248ca8b44cf7b4b65e7dd49a47ab # CHECK: 1664 # CHECK: 20 # CHECK: # CHECK: 1664 # CHECK: # CHECK: Bitcode # CHECK: # CHECK: -triple # CHECK: x86_64-apple-macosx10.11.0 # CHECK: -emit-obj # CHECK: -disable-llvm-optzns # CHECK: # CHECK: # CHECK: # CHECK: