diff options
Diffstat (limited to 'test/COFF/lto-opt-level.ll')
-rw-r--r-- | test/COFF/lto-opt-level.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/COFF/lto-opt-level.ll b/test/COFF/lto-opt-level.ll index 674b6cc0f934a..cacd0637731a4 100644 --- a/test/COFF/lto-opt-level.ll +++ b/test/COFF/lto-opt-level.ll @@ -1,10 +1,10 @@ ; RUN: llvm-as -o %t.obj %s -; RUN: lld-link /out:%t0.exe /entry:main /subsystem:console /opt:lldlto=0 /debug %t.obj -; RUN: llvm-nm %t0.exe | FileCheck --check-prefix=CHECK-O0 %s -; RUN: lld-link /out:%t2.exe /entry:main /subsystem:console /opt:lldlto=2 /debug %t.obj -; RUN: llvm-nm %t2.exe | FileCheck --check-prefix=CHECK-O2 %s -; RUN: lld-link /out:%t2a.exe /entry:main /subsystem:console /debug %t.obj -; RUN: llvm-nm %t2a.exe | FileCheck --check-prefix=CHECK-O2 %s +; RUN: lld-link /out:%t0.exe /entry:main /subsystem:console /opt:lldlto=0 /lldmap:%t0.map %t.obj +; RUN: FileCheck --check-prefix=CHECK-O0 %s < %t0.map +; RUN: lld-link /out:%t2.exe /entry:main /subsystem:console /opt:lldlto=2 /lldmap:%t2.map %t.obj +; RUN: FileCheck --check-prefix=CHECK-O2 %s < %t2.map +; RUN: lld-link /out:%t2a.exe /entry:main /subsystem:console /lldmap:%t2a.map %t.obj +; RUN: FileCheck --check-prefix=CHECK-O2 %s < %t2a.map target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc" |