LLVM  13.0.0git
Functions
MCAsmStreamer.cpp File Reference
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Twine.h"
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCCodeView.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCFixupKindInfo.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstPrinter.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCPseudoProbe.h"
#include "llvm/MC/MCRegister.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbolXCOFF.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/TargetRegistry.h"
#include <cctype>
Include dependency graph for MCAsmStreamer.cpp:

Go to the source code of this file.

Functions

static int64_t truncateToSize (int64_t Value, unsigned Bytes)
 
static const char * getVersionMinDirective (MCVersionMinType Type)
 
static void EmitSDKVersionSuffix (raw_ostream &OS, const VersionTuple &SDKVersion)
 
static const char * getPlatformName (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)
 

Function Documentation

◆ EmitSDKVersionSuffix()

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

◆ getPlatformName()

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

◆ getVersionMinDirective()

static const char* getVersionMinDirective ( MCVersionMinType  Type)
static

◆ isPrintableString()

static bool isPrintableString ( StringRef  Data)
inlinestatic

Definition at line 1006 of file MCAsmStreamer.cpp.

References llvm::Data, llvm::sys::locale::isPrint(), and llvm::make_range().

◆ PrintByteList()

static void PrintByteList ( StringRef  Data,
raw_ostream OS,
MCAsmInfo::AsmCharLiteralSyntax  ACLS 
)
static

◆ PrintCFIEscape()

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

◆ toOctal()

static char toOctal ( int  X)
inlinestatic

Definition at line 1015 of file MCAsmStreamer.cpp.

References X.

Referenced by PrintByteList().

◆ truncateToSize()

static int64_t truncateToSize ( int64_t  Value,
unsigned  Bytes 
)
inlinestatic

Definition at line 432 of file MCAsmStreamer.cpp.

References assert().