LLVM 20.0.0git
|
linking options More...
#include "DWARFLinker/Parallel/DWARFLinkerGlobalData.h"
Public Attributes | |
uint16_t | TargetDWARFVersion = 0 |
DWARF version for the output. | |
bool | Verbose = false |
Generate processing log to the standard output. | |
bool | Statistics = false |
Print statistics. | |
bool | VerifyInputDWARF = false |
Verify the input DWARF. | |
bool | NoODR = false |
Do not unique types according to ODR. | |
bool | UpdateIndexTablesOnly = false |
Update index tables. | |
bool | KeepFunctionForStatic = false |
Whether we want a static variable to force us to keep its enclosing function. | |
bool | AllowNonDeterministicOutput = false |
Allow to generate valid, but non deterministic output. | |
unsigned | Threads = 1 |
Number of threads. | |
SmallVector< DWARFLinkerBase::AccelTableKind, 1 > | AccelTables |
The accelerator table kinds. | |
std::string | PrependPath |
Prepend path for the clang modules. | |
DWARFLinkerBase::InputVerificationHandlerTy | InputVerificationHandler |
input verification handler(it might be called asynchronously). | |
DWARFLinkerBase::SwiftInterfacesMapTy * | ParseableSwiftInterfaces = nullptr |
A list of all .swiftinterface files referenced by the debug info, mapping Module name to path on disk. | |
DWARFLinkerBase::ObjectPrefixMapTy * | ObjectPrefixMap = nullptr |
A list of remappings to apply to file paths. | |
linking options
Definition at line 28 of file DWARFLinkerGlobalData.h.
SmallVector<DWARFLinkerBase::AccelTableKind, 1> llvm::dwarf_linker::parallel::DWARFLinkerOptions::AccelTables |
The accelerator table kinds.
Definition at line 58 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::addAccelTableKind(), llvm::dwarf_linker::parallel::CompileUnit::cloneAndEmit(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::emitCommonSectionsAndWriteCompileUnitsToTheOutput(), llvm::dwarf_linker::parallel::TypeUnit::finishCloningAndEmit(), and llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::save().
bool llvm::dwarf_linker::parallel::DWARFLinkerOptions::AllowNonDeterministicOutput = false |
Allow to generate valid, but non deterministic output.
Definition at line 52 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::DIEAttributeCloner(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::setAllowNonDeterministicOutput().
DWARFLinkerBase::InputVerificationHandlerTy llvm::dwarf_linker::parallel::DWARFLinkerOptions::InputVerificationHandler |
input verification handler(it might be called asynchronously).
Definition at line 64 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::setInputVerificationHandler(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::verifyInput().
bool llvm::dwarf_linker::parallel::DWARFLinkerOptions::KeepFunctionForStatic = false |
Whether we want a static variable to force us to keep its enclosing function.
Definition at line 49 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::setKeepFunctionForStatic().
bool llvm::dwarf_linker::parallel::DWARFLinkerOptions::NoODR = false |
Do not unique types according to ODR.
Definition at line 42 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::CompileUnit::CompileUnit(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::setNoODR(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::validateAndUpdateOptions().
DWARFLinkerBase::ObjectPrefixMapTy* llvm::dwarf_linker::parallel::DWARFLinkerOptions::ObjectPrefixMap = nullptr |
A list of remappings to apply to file paths.
(it might be called asynchronously).
Definition at line 79 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::registerModuleReference(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::setObjectPrefixMap().
DWARFLinkerBase::SwiftInterfacesMapTy* llvm::dwarf_linker::parallel::DWARFLinkerOptions::ParseableSwiftInterfaces = nullptr |
A list of all .swiftinterface files referenced by the debug info, mapping Module name to path on disk.
The entries need to be uniqued and sorted and there are only few entries expected per compile unit, which is why this is a std::map. this is dsymutil specific fag.
(it might be called asynchronously).
Definition at line 74 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::CompileUnit::analyzeImportedModule(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::setSwiftInterfacesMap().
std::string llvm::dwarf_linker::parallel::DWARFLinkerOptions::PrependPath |
Prepend path for the clang modules.
Definition at line 61 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::loadClangModule(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::setPrependPath().
bool llvm::dwarf_linker::parallel::DWARFLinkerOptions::Statistics = false |
Print statistics.
Definition at line 36 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::glueCompileUnitsAndWriteToTheOutput(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::setStatistics().
uint16_t llvm::dwarf_linker::parallel::DWARFLinkerOptions::TargetDWARFVersion = 0 |
DWARF version for the output.
Definition at line 30 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::setTargetDWARFVersion(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::validateAndUpdateOptions().
unsigned llvm::dwarf_linker::parallel::DWARFLinkerOptions::Threads = 1 |
Number of threads.
Definition at line 55 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::DIEAttributeCloner(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::setNumThreads(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::validateAndUpdateOptions().
bool llvm::dwarf_linker::parallel::DWARFLinkerOptions::UpdateIndexTablesOnly = false |
Update index tables.
Definition at line 45 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::addObjectFile(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneAddressAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneBlockAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneScalarAttr(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::linkSingleCompileUnit(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::setUpdateIndexTablesOnly(), llvm::dwarf_linker::parallel::DIEAttributeCloner::shouldSkipAttribute(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::validateAndUpdateOptions().
bool llvm::dwarf_linker::parallel::DWARFLinkerOptions::Verbose = false |
Generate processing log to the standard output.
Definition at line 33 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::isClangModuleRef(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::link(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::loadClangModule(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::LinkContext::registerModuleReference(), llvm::dwarf_linker::parallel::DWARFLinkerImpl::setVerbosity(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::validateAndUpdateOptions().
bool llvm::dwarf_linker::parallel::DWARFLinkerOptions::VerifyInputDWARF = false |
Verify the input DWARF.
Definition at line 39 of file DWARFLinkerGlobalData.h.
Referenced by llvm::dwarf_linker::parallel::DWARFLinkerImpl::link(), and llvm::dwarf_linker::parallel::DWARFLinkerImpl::setVerifyInputDWARF().