summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/ELF/lto/Inputs/cache.ll2
-rw-r--r--lld/test/ELF/lto/cache.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/ELF/lto/Inputs/cache.ll b/lld/test/ELF/lto/Inputs/cache.ll
index 4abbb457137..09289029917 100644
--- a/lld/test/ELF/lto/Inputs/cache.ll
+++ b/lld/test/ELF/lto/Inputs/cache.ll
@@ -1,7 +1,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
-define i32 @main() {
+define i32 @_start() {
entry:
call void (...) @globalfunc()
ret i32 0
diff --git a/lld/test/ELF/lto/cache.ll b/lld/test/ELF/lto/cache.ll
index 2697461d8cc..53d4cbb9e32 100644
--- a/lld/test/ELF/lto/cache.ll
+++ b/lld/test/ELF/lto/cache.ll
@@ -4,7 +4,7 @@
; RUN: opt -module-hash -module-summary %p/Inputs/cache.ll -o %t2.o
; RUN: rm -Rf %t.cache
-; RUN: ld.lld --thinlto-cache-dir=%t.cache -o %t3.o %t2.o %t.o
+; RUN: ld.lld --thinlto-cache-dir=%t.cache -o %t3 %t2.o %t.o
; RUN: ls %t.cache | count 2
OpenPOWER on IntegriCloud