summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/Inputs/funcimport.ll
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2015-11-02 22:17:32 +0000
committerTeresa Johnson <tejohnson@google.com>2015-11-02 22:17:32 +0000
commit227a923140b446b281fde945d662ae16227d5f51 (patch)
treef5b6a5ac3992e290a25f20f92021661c14b8a0df /llvm/test/Linker/Inputs/funcimport.ll
parenta7cd16b252c68bd7e79ba52bdab8f5c377ca4fd2 (diff)
downloadbcm5719-llvm-227a923140b446b281fde945d662ae16227d5f51.tar.gz
bcm5719-llvm-227a923140b446b281fde945d662ae16227d5f51.zip
Revert "Support for ThinLTO function importing and symbol linking."
This reverts commit r251837, due to a number of bot failures of the form: /home/grosser/buildslave/perf-x86_64-penryn-O3-polly-fast/llvm.obj/tools/llvm-link/Release+Asserts/llvm-link.o:llvm-link.cpp:function loadIndex(llvm::LLVMContext&, llvm::Module const*): error: undefined reference to 'llvm::object::FunctionIndexObjectFile::create(llvm::MemoryBufferRef, llvm::LLVMContext&, llvm::Module const*, bool)' /home/grosser/buildslave/perf-x86_64-penryn-O3-polly-fast/llvm.obj/tools/llvm-link/Release+Asserts/llvm-link.o:llvm-link.cpp:function loadIndex(llvm::LLVMContext&, llvm::Module const*): error: undefined reference to 'llvm::object::FunctionIndexObjectFile::takeIndex()' I'm not sure why these are happening - I added Object to the requred libraries in tools/llvm-link/LLVMBuild.txt and the LLVM_LINK_COMPONENTS in tools/llvm-link/CMakeLists.txt. Confirmed for my build that these symbols come out of libLLVMObject.a. What am I missing? llvm-svn: 251841
Diffstat (limited to 'llvm/test/Linker/Inputs/funcimport.ll')
-rw-r--r--llvm/test/Linker/Inputs/funcimport.ll28
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/test/Linker/Inputs/funcimport.ll b/llvm/test/Linker/Inputs/funcimport.ll
deleted file mode 100644
index 25cfcfc2a65..00000000000
--- a/llvm/test/Linker/Inputs/funcimport.ll
+++ /dev/null
@@ -1,28 +0,0 @@
-define i32 @main() #0 {
-entry:
- call void (...) @weakalias()
- call void (...) @analias()
- %call = call i32 (...) @referencestatics()
- %call1 = call i32 (...) @referenceglobals()
- %call2 = call i32 (...) @referencecommon()
- call void (...) @setfuncptr()
- call void (...) @callfuncptr()
- call void (...) @callweakfunc()
- ret i32 0
-}
-
-declare void @weakalias(...) #1
-
-declare void @analias(...) #1
-
-declare i32 @referencestatics(...) #1
-
-declare i32 @referenceglobals(...) #1
-
-declare i32 @referencecommon(...) #1
-
-declare void @setfuncptr(...) #1
-
-declare void @callfuncptr(...) #1
-
-declare void @callweakfunc(...) #1
OpenPOWER on IntegriCloud