cl_options.h (ldc-1.32.1) | : | cl_options.h (ldc-1.32.2) | ||
---|---|---|---|---|
skipping to change at line 102 | skipping to change at line 102 | |||
bool isUsingLegacyPassManager(); | bool isUsingLegacyPassManager(); | |||
// Math options | // Math options | |||
extern bool fFastMath; | extern bool fFastMath; | |||
extern llvm::FastMathFlags defaultFMF; | extern llvm::FastMathFlags defaultFMF; | |||
void setDefaultMathOptions(llvm::TargetOptions &targetOptions); | void setDefaultMathOptions(llvm::TargetOptions &targetOptions); | |||
extern cl::opt<bool> fNoDiscardValueNames; | extern cl::opt<bool> fNoDiscardValueNames; | |||
extern cl::opt<bool> fNullPointerIsValid; | extern cl::opt<bool> fNullPointerIsValid; | |||
extern cl::opt<bool> fSplitStack; | ||||
// Arguments to -d-debug | // Arguments to -d-debug | |||
extern std::vector<std::string> debugArgs; | extern std::vector<std::string> debugArgs; | |||
// Arguments to -run | // Arguments to -run | |||
void createClashingOptions(); | void createClashingOptions(); | |||
void hideLLVMOptions(); | void hideLLVMOptions(); | |||
enum class CoverageIncrement | enum class CoverageIncrement | |||
{ | { | |||
skipping to change at line 135 | skipping to change at line 136 | |||
enum LTOKind { | enum LTOKind { | |||
LTO_None, | LTO_None, | |||
LTO_Full, | LTO_Full, | |||
LTO_Thin, | LTO_Thin, | |||
}; | }; | |||
extern cl::opt<LTOKind> ltoMode; | extern cl::opt<LTOKind> ltoMode; | |||
inline bool isUsingLTO() { return ltoMode != LTO_None; } | inline bool isUsingLTO() { return ltoMode != LTO_None; } | |||
inline bool isUsingThinLTO() { return ltoMode == LTO_Thin; } | inline bool isUsingThinLTO() { return ltoMode == LTO_Thin; } | |||
extern cl::opt<std::string> saveOptimizationRecord; | extern cl::opt<std::string> saveOptimizationRecord; | |||
#if LDC_LLVM_VER >= 1300 | ||||
extern cl::opt<unsigned> fWarnStackSize; | ||||
#endif | ||||
#if LDC_LLVM_SUPPORTED_TARGET_SPIRV || LDC_LLVM_SUPPORTED_TARGET_NVPTX | #if LDC_LLVM_SUPPORTED_TARGET_SPIRV || LDC_LLVM_SUPPORTED_TARGET_NVPTX | |||
extern cl::list<std::string> dcomputeTargets; | extern cl::list<std::string> dcomputeTargets; | |||
extern cl::opt<std::string> dcomputeFilePrefix; | extern cl::opt<std::string> dcomputeFilePrefix; | |||
#endif | #endif | |||
#if defined(LDC_DYNAMIC_COMPILE) | #if defined(LDC_DYNAMIC_COMPILE) | |||
extern cl::opt<bool> enableDynamicCompile; | extern cl::opt<bool> enableDynamicCompile; | |||
extern cl::opt<bool> dynamicCompileTlsWorkaround; | extern cl::opt<bool> dynamicCompileTlsWorkaround; | |||
#else | #else | |||
constexpr bool enableDynamicCompile = false; | constexpr bool enableDynamicCompile = false; | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added |