File indexing completed on 2026-05-10 08:44:15
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H
0015 #define LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H
0016
0017 #include <optional>
0018 #include <string>
0019
0020 namespace llvm {
0021
0022 class MCTargetOptions;
0023 enum class EmitDwarfUnwindType;
0024
0025 namespace mc {
0026
0027 bool getRelaxAll();
0028 std::optional<bool> getExplicitRelaxAll();
0029
0030 bool getIncrementalLinkerCompatible();
0031
0032 bool getFDPIC();
0033
0034 int getDwarfVersion();
0035
0036 bool getDwarf64();
0037
0038 EmitDwarfUnwindType getEmitDwarfUnwind();
0039
0040 bool getEmitCompactUnwindNonCanonical();
0041
0042 bool getShowMCInst();
0043
0044 bool getFatalWarnings();
0045
0046 bool getNoWarn();
0047
0048 bool getNoDeprecatedWarn();
0049
0050 bool getNoTypeCheck();
0051
0052 bool getSaveTempLabels();
0053
0054 bool getCrel();
0055
0056 bool getImplicitMapSyms();
0057
0058 bool getX86RelaxRelocations();
0059
0060 bool getX86Sse2Avx();
0061
0062 std::string getABIName();
0063
0064 std::string getAsSecureLogFile();
0065
0066
0067
0068 struct RegisterMCTargetOptionsFlags {
0069 RegisterMCTargetOptionsFlags();
0070 };
0071
0072 MCTargetOptions InitMCTargetOptionsFromFlags();
0073
0074 }
0075
0076 }
0077
0078 #endif