LLVM 22.0.0git
MCAsmStreamer.cpp File Reference

Go to the source code of this file.

Macros

#define PLATFORM(platform, id, name, build_name, target, tapi_target, marketing)

Functions

static int64_t truncateToSize (int64_t Value, unsigned Bytes)
static const chargetVersionMinDirective (MCVersionMinType Type)
static void EmitSDKVersionSuffix (raw_ostream &OS, const VersionTuple &SDKVersion)
static const chargetPlatformName (MachO::PlatformType Type)
static bool isPrintableString (StringRef Data)
static char toOctal (int X)
static void PrintByteList (StringRef Data, raw_ostream &OS, MCAsmInfo::AsmCharLiteralSyntax ACLS)
static void PrintCFIEscape (llvm::formatted_raw_ostream &OS, StringRef Values)

Macro Definition Documentation

◆ PLATFORM

#define PLATFORM ( platform,
id,
name,
build_name,
target,
tapi_target,
marketing )
Value:
case MachO::PLATFORM_##platform: \
return #build_name;

Function Documentation

◆ EmitSDKVersionSuffix()

void EmitSDKVersionSuffix ( raw_ostream & OS,
const VersionTuple & SDKVersion )
static

◆ getPlatformName()

const char * getPlatformName ( MachO::PlatformType Type)
static

Definition at line 657 of file MCAsmStreamer.cpp.

References llvm_unreachable.

◆ getVersionMinDirective()

◆ isPrintableString()

bool isPrintableString ( StringRef Data)
inlinestatic

◆ PrintByteList()

◆ PrintCFIEscape()

void PrintCFIEscape ( llvm::formatted_raw_ostream & OS,
StringRef Values )
static

◆ toOctal()

char toOctal ( int X)
inlinestatic

Definition at line 1158 of file MCAsmStreamer.cpp.

References X.

Referenced by PrintByteList().

◆ truncateToSize()

int64_t truncateToSize ( int64_t Value,
unsigned Bytes )
inlinestatic

Definition at line 470 of file MCAsmStreamer.cpp.

References assert().