llvm-project/llvm/lib/Target/VE/MCTargetDesc
Sergei Trofimovich 1eb812e06d [VE] Fix initializer visibility
Before the change attempt to link libLTO.so against shared
LLVM library failed as:

```
[ 76%] Linking CXX shared library ../../lib/libLTO.so
... /usr/bin/cmake -E cmake_link_script CMakeFiles/LTO.dir/link.txt --verbose=1
c++ -o ...libLTO.so.12git ...ibLLVM-12git.so
ld: CMakeFiles/LTO.dir/lto.cpp.o: in function `llvm::InitializeAllTargetInfos()':
include/llvm/Config/Targets.def:31: undefined reference to `LLVMInitializeVETargetInfo'
```

It happens because on linux llvm build system sets default
symbol visibility to "hidden". The fix is to set visibility
back to "default" for exported APIs with LLVM_EXTERNAL_VISIBILITY.

Bug: https://bugs.llvm.org/show_bug.cgi?id=47847

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D89633
2020-10-19 22:54:41 +01:00
..
CMakeLists.txt [VE] Implements minimum MC layer for VE (4/4) 2020-05-29 10:50:16 +02:00
LLVMBuild.txt [VE] Move VEInstPrinter.cpp and VEInstPrinter.h into MCTargetDesc 2020-03-17 11:33:54 +01:00
VEAsmBackend.cpp [VE] Support relocation information in MC layer 2020-06-15 11:24:53 +02:00
VEELFObjectWriter.cpp [VE] Support relocation information in MC layer 2020-06-15 11:24:53 +02:00
VEFixupKinds.h [VE] Support relocation information in MC layer 2020-06-15 11:24:53 +02:00
VEInstPrinter.cpp [VE] Support host memory access instructions in MC layer 2020-06-10 10:02:14 +02:00
VEInstPrinter.h [VE] Support host memory access instructions in MC layer 2020-06-10 10:02:14 +02:00
VEMCAsmInfo.cpp [MC] Add UseIntegratedAssembler = false. NFC 2020-04-11 10:13:49 -07:00
VEMCAsmInfo.h
VEMCCodeEmitter.cpp [VE] Support relocation information in MC layer 2020-06-15 11:24:53 +02:00
VEMCExpr.cpp [VE] Support relocation information in MC layer 2020-06-15 11:24:53 +02:00
VEMCExpr.h [VE] Support relocation information in MC layer 2020-06-15 11:24:53 +02:00
VEMCTargetDesc.cpp [VE] Fix initializer visibility 2020-10-19 22:54:41 +01:00
VEMCTargetDesc.h [VE] Implements minimum MC layer for VE (4/4) 2020-05-29 10:50:16 +02:00
VETargetStreamer.cpp [VE] Move VEInstPrinter.cpp and VEInstPrinter.h into MCTargetDesc 2020-03-17 11:33:54 +01:00
VETargetStreamer.h