|
6 | 6 | ; serialized in the object file.
|
7 | 7 |
|
8 | 8 | ; RUN: %swiftc_driver_plain -frontend -target x86_64-apple-darwin10 -c -module-name someModule -embed-bitcode -disable-llvm-optzns -Xllvm -time-passes -o %t2.o %t.bc -dump-clang-diagnostics 2> %t.diags.txt
|
9 |
| -; RUN: llvm-objdump -macho -section="__LLVM,__bitcode" %t2.o | %FileCheck %s |
10 |
| -; RUN: llvm-objdump -macho -section="__LLVM,__swift_cmdline" %t2.o | %FileCheck -check-prefix=CHECK-CMD %s |
| 9 | +; RUN: llvm-objdump --macho --section="__LLVM,__bitcode" %t2.o | %FileCheck %s |
| 10 | +; RUN: llvm-objdump --macho --section="__LLVM,__swift_cmdline" %t2.o | %FileCheck -check-prefix=CHECK-CMD %s |
11 | 11 | ; RUN: %FileCheck -check-prefix CHECK-COMPILER %s < %t.diags.txt
|
12 | 12 |
|
13 | 13 | ; RUN: %swiftc_driver_plain -frontend -O -target x86_64-apple-darwin10 -c -module-name someModule -embed-bitcode -disable-llvm-optzns -Xllvm -time-passes -o %t2-opt.o %t.bc -dump-clang-diagnostics -Xllvm -debug-pass=Structure 2> %t.diags-opt.txt
|
14 |
| -; RUN: llvm-objdump -macho -section="__LLVM,__bitcode" %t2-opt.o | %FileCheck %s |
15 |
| -; RUN: llvm-objdump -macho -section="__LLVM,__swift_cmdline" %t2-opt.o | %FileCheck -check-prefix=CHECK-CMD-OPT %s |
| 14 | +; RUN: llvm-objdump --macho --section="__LLVM,__bitcode" %t2-opt.o | %FileCheck %s |
| 15 | +; RUN: llvm-objdump --macho --section="__LLVM,__swift_cmdline" %t2-opt.o | %FileCheck -check-prefix=CHECK-CMD-OPT %s |
16 | 16 | ; RUN: %FileCheck -check-prefix CHECK-COMPILER-OPT %s < %t.diags-opt.txt
|
17 | 17 |
|
18 | 18 | ; RUN: %swiftc_driver_plain -frontend -target x86_64-apple-darwin10 -c -module-name someModule -embed-bitcode-marker -o %t3.o %t.bc
|
19 |
| -; RUN: llvm-objdump -macho -section="__LLVM,__bitcode" %t3.o | %FileCheck -check-prefix=MARKER %s |
20 |
| -; RUN: llvm-objdump -macho -section="__LLVM,__swift_cmdline" %t3.o | %FileCheck -check-prefix=MARKER-CMD %s |
| 19 | +; RUN: llvm-objdump --macho --section="__LLVM,__bitcode" %t3.o | %FileCheck -check-prefix=MARKER %s |
| 20 | +; RUN: llvm-objdump --macho --section="__LLVM,__swift_cmdline" %t3.o | %FileCheck -check-prefix=MARKER-CMD %s |
21 | 21 |
|
22 | 22 | target triple = "x86_64-apple-darwin10"
|
23 | 23 | target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
|
|
0 commit comments