Fixup classification helpers used during assembly and relocation.

Types

Name

Description

RegisterMCTargetOptionsFlags

Create this object with static storage to register mc‐related command line options.

Functions

Name

Description

InitMCTargetOptionsFromFlags

Initialize an MCTargetOptions object from the registered MC flags.

getABIName

Return the value of the ‐target‐abi command‐line option.

getAsSecureLogFile

Return the value of the ‐as‐secure‐log‐file command‐line option.

getCrel

Return whether ‐crel is enabled.

getDwarf64

Return whether ‐dwarf64 is enabled.

getDwarfVersion

Return the value of the ‐dwarf‐version command‐line option.

getEmitCompactUnwindNonCanonical

Return whether ‐emit‐compact‐unwind‐non‐canonical is enabled.

getEmitDwarfUnwind

Return the value of the ‐emit‐dwarf‐unwind command‐line option.

getEmitSFrameUnwind

Return whether ‐gsframe is enabled.

getExplicitRelaxAll

Return the ‐mc‐relax‐all value if it was explicitly set.

getFDPIC

Return whether ‐fdpic is enabled.

getFatalWarnings

Return whether ‐fatal‐warnings is enabled.

getImplicitMapSyms

Return whether ‐implicit‐mapsyms is enabled.

getIncrementalLinkerCompatible

Return whether ‐incremental‐linker‐compatible is enabled.

getLargeEHEncoding

Return whether ‐large‐eh‐encoding is enabled.

getNoDeprecatedWarn

Return whether ‐no‐deprecated‐warn is enabled.

getNoTypeCheck

Return whether ‐no‐type‐check is enabled.

getNoWarn

Return whether ‐no‐warn is enabled.

getRelaxAll

Return whether ‐mc‐relax‐all is enabled.

getRelocSectionSym

Return the value of the ‐reloc‐section‐sym command‐line option.

getSaveTempLabels

Return whether ‐save‐temp‐labels is enabled.

getShowMCInst

Return whether ‐asm‐show‐inst is enabled.

getX86RelaxRelocations

Return whether ‐x86‐relax‐relocations is enabled.

getX86Sse2Avx

Return whether ‐x86‐sse2avx is enabled.

isRelocRelocation

Return true if FixupKind is a literal relocation from a .reloc directive.

isRelocation

Return true if FixupKind encodes a relocation rather than a constant.

Created with MrDocs