1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/lib
Georgii Rymar 561d962889 [ObjectYAML] - An attempt to fix BB after commit of D95140.
D95140 introduced `static constexpr StringRef TypeStr = "SectionHeaderTable";` member
of `SectionHeaderTable` with in-class initialized. BB reports the link error:

/usr/bin/ld: lib/libLLVMObjectYAML.a(ELFYAML.cpp.o): in function
`llvm::yaml::MappingTraits<std::unique_ptr<llvm::ELFYAML::Chunk, std::default_delete<llvm::ELFYAML::Chunk> > >::mapping(llvm::yaml::IO&, std::unique_ptr<llvm::ELFYAML::Chunk, std::default_delete<llvm::ELFYAML::Chunk> >&)':
ELFYAML.cpp:(.text._ZN4llvm4yaml13MappingTraitsISt10unique_ptrINS_7ELFYAML5ChunkESt14default_deleteIS4_EEE7mappingERNS0_2IOERS7_+0x58): undefined reference to `llvm::ELFYAML::SectionHeaderTable::TypeStr'
/usr/bin/ld: ELFYAML.cpp:(.text._ZN4llvm4yaml13MappingTraitsISt10unique_ptrINS_7ELFYAML5ChunkESt14default_deleteIS4_EEE7mappingERNS0_2IOERS7_+0x353):undefined reference to `llvm::ELFYAML::SectionHeaderTable::TypeStr'
/usr/bin/ld: ELFYAML.cpp:(.text._ZN4llvm4yaml13MappingTraitsISt10unique_ptrINS_7ELFYAML5ChunkESt14default_deleteIS4_EEE7mappingERNS0_2IOERS7_+0x6e5): undefined reference to `llvm::ELFYAML::SectionHeaderTable::TypeStr'

This patch adds a definition to cpp file, I guess it should fix the issue.
2021-01-25 13:26:06 +03:00
..
Analysis [llvm] Use pop_back_val (NFC) 2021-01-24 12:18:57 -08:00
AsmParser [X86] Add x86_amx type for intel AMX. 2020-12-30 13:52:13 +08:00
BinaryFormat [Debuginfo][DW_OP_implicit_pointer] (1/7) Support for DW_OP_LLVM_implicit_pointer 2021-01-15 14:45:04 +05:30
Bitcode [llvm] Use pop_back_val (NFC) 2021-01-24 12:18:57 -08:00
Bitstream [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
CodeGen [XRay] Support DW_TAG_call_site and delete unneeded PATCHABLE_EVENT_CALL/PATCHABLE_TYPED_EVENT_CALL lowering 2021-01-25 00:49:18 -08:00
DebugInfo [llvm] Use pop_back_val (NFC) 2021-01-24 12:18:57 -08:00
Demangle [llvm] Remove redundant return and continue statements (NFC) 2021-01-14 20:30:34 -08:00
DWARFLinker [llvm] Use pop_back_val (NFC) 2021-01-24 12:18:57 -08:00
ExecutionEngine [JITLink] Enable exception handling for ELF. 2021-01-25 15:31:27 +11:00
Extensions
FileCheck [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Frontend [OpenMPIRBuilder] Silence compiler warning. NFC. 2021-01-23 21:00:37 -06:00
Fuzzer
FuzzMutate [FuzzMutate] Add mutator to modify instruction flags. 2021-01-23 19:05:20 +00:00
InterfaceStub [llvm-elfabi] Add flag to preserve timestamp when output is the same 2020-12-29 20:27:06 -08:00
IR [OpenMPIRBuilder] Implement tileLoops. 2021-01-23 19:39:29 -06:00
IRReader
LineEditor
Linker [llvm-link] Fix for an assertion when linking global with appending linkage 2021-01-23 00:10:42 -08:00
LTO [LTO] Move DisableVerify setting to LTOCodeGenerator class (NFC). 2021-01-24 14:14:40 +00:00
MC [llvm] Use isAlpha/isAlnum (NFC) 2021-01-22 23:25:03 -08:00
MCA [llvm] Use llvm::find (NFC) 2021-01-19 20:19:14 -08:00
Object [llvm] Use static_assert instead of assert (NFC) 2021-01-22 23:25:05 -08:00
ObjectYAML [ObjectYAML] - An attempt to fix BB after commit of D95140. 2021-01-25 13:26:06 +03:00
Option [llvm] Simplify string comparisons (NFC) 2021-01-11 18:48:09 -08:00
Passes [LoopRotate] Add PrepareForLTO stage, avoid rotating with inline cands. 2021-01-19 10:15:29 +00:00
ProfileData [llvm] Use isDigit (NFC) 2021-01-21 19:59:50 -08:00
Remarks
Support [Support] TrigramIndex::insert - pass std::String argument by const reference. NFCI. 2021-01-23 11:04:00 +00:00
TableGen [llvm] Use pop_back_val (NFC) 2021-01-24 12:18:57 -08:00
Target [AArch64] Add Cortex CPU subtarget features for instruction fusion. 2021-01-25 09:11:29 +00:00
Testing
TextAPI [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
ToolDrivers
Transforms [Utils] Use NoAliasScopeDeclInst in a few more places (NFC) 2021-01-24 16:24:11 +01:00
WindowsManifest
XRay
CMakeLists.txt