annotate clang/test/Modules/pch_container.m @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 @import DependsOnModule;
anatofuz
parents:
diff changeset
2 // REQUIRES: x86-registered-target
anatofuz
parents:
diff changeset
3 // RUN: rm -rf %t-MachO %t-ELF %t-ELF_SPLIT %t-COFF %t-raw
anatofuz
parents:
diff changeset
4 // RUN: %clang_cc1 -triple=x86_64-apple-darwin -fmodules -fmodule-format=obj -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t-MachO -F %S/Inputs %s
anatofuz
parents:
diff changeset
5 // RUN: %clang_cc1 -triple=x86_64-linux-elf -fmodules -fmodule-format=obj -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t-ELF -F %S/Inputs %s
anatofuz
parents:
diff changeset
6 // RUN: %clang_cc1 -triple=x86_64-windows-coff -fmodules -fmodule-format=obj -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t-COFF -F %S/Inputs %s
anatofuz
parents:
diff changeset
7 // RUN: %clang_cc1 -triple=x86_64-apple-darwin -fmodules -fmodule-format=raw -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t-raw -F %S/Inputs %s
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 // RUN: llvm-objdump --section-headers %t-MachO/DependsOnModule.pcm %t-ELF/DependsOnModule.pcm %t-COFF/DependsOnModule.pcm | FileCheck %s
anatofuz
parents:
diff changeset
11 // CHECK: file format mach-o 64-bit x86-64
anatofuz
parents:
diff changeset
12 // CHECK: __clangast {{[0-9a-f]+}} {{[0-9a-f]+}} DATA
anatofuz
parents:
diff changeset
13 // CHECK: file format elf64-x86-64
anatofuz
parents:
diff changeset
14 // CHECK: __clangast {{[0-9a-f]+}} {{[0-9a-f]+}} DATA
anatofuz
parents:
diff changeset
15 // CHECK: file format coff-x86-64
anatofuz
parents:
diff changeset
16 // CHECK: clangast {{[0-9a-f]+}} {{[0-9a-f]+}}
anatofuz
parents:
diff changeset
17
anatofuz
parents:
diff changeset
18 // RUN: not llvm-objdump --section-headers %t-raw/DependsOnModule.pcm
anatofuz
parents:
diff changeset
19
anatofuz
parents:
diff changeset
20 // RUN: %clang_cc1 -split-dwarf-output t-split.dwo -triple=x86_64-linux-elf -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t-ELF_SPLIT -F %S/Inputs %s -o %t-split.o