Changeset View
Changeset View
Standalone View
Standalone View
lld/MachO/Config.h
Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | struct Configuration { | ||||
bool emitEncryptionInfo = false; | bool emitEncryptionInfo = false; | ||||
bool timeTraceEnabled = false; | bool timeTraceEnabled = false; | ||||
bool dataConst = false; | bool dataConst = false; | ||||
bool dedupLiterals = true; | bool dedupLiterals = true; | ||||
uint32_t headerPad; | uint32_t headerPad; | ||||
uint32_t dylibCompatibilityVersion = 0; | uint32_t dylibCompatibilityVersion = 0; | ||||
uint32_t dylibCurrentVersion = 0; | uint32_t dylibCurrentVersion = 0; | ||||
uint32_t timeTraceGranularity = 500; | uint32_t timeTraceGranularity = 500; | ||||
unsigned optimize; | |||||
std::string progName; | std::string progName; | ||||
// For `clang -arch arm64 -arch x86_64`, clang will: | // For `clang -arch arm64 -arch x86_64`, clang will: | ||||
// 1. invoke the linker twice, to write one temporary output per arch | // 1. invoke the linker twice, to write one temporary output per arch | ||||
// 2. invoke `lipo` to merge the two outputs into a single file | // 2. invoke `lipo` to merge the two outputs into a single file | ||||
// `outputFile` is the name of the temporary file the linker writes to. | // `outputFile` is the name of the temporary file the linker writes to. | ||||
// `finalOutput `is the name of the file lipo writes to after the link. | // `finalOutput `is the name of the file lipo writes to after the link. | ||||
llvm::StringRef outputFile; | llvm::StringRef outputFile; | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |