A raw_fd_stream that communicates over a UNIX domain socket.
Synopsis
Declared in <llvm/Support/raw_socket_stream.h>
class raw_socket_stream
: public raw_fd_stream
Base Classes
Name |
Description |
A raw_ostream of a file for reading/writing/seeking. |
Type Aliases
Name |
Description |
Output a formatted UUID with dash separators. |
Enums
Name |
Description |
ANSI terminal color codes. |
|
Discriminator for concrete raw_ostream subclasses. |
Member Functions
Name |
Description |
|
Constructs a stream around an already‐connected socket file descriptor. |
|
Destroys the stream and closes the underlying socket. |
|
Copy‐assignment is deleted. |
Return the size of the current stream buffer, or the preferred size if buffering is enabled but the buffer has not been allocated yet. |
|
Return the number of bytes currently held in the stream buffer. |
|
Set the stream to be buffered, using the specified buffer size. |
|
Set the stream to be buffered, with an automatically determined buffer size. |
|
Set the stream to be unbuffered. |
|
|
Changes the foreground color of text that will be output from this point forward. |
Clear the sticky output error flag read by has_error(). |
|
Manually flush the stream and close the file. Note that this does not call fsync. |
|
Return true if ANSI color output is currently enabled. |
|
|
Enable or disable ANSI color output for subsequent writes. |
Return the sticky error code for this stream. |
|
Flush buffered output to the underlying device. |
|
Return the concrete stream kind discriminator. |
|
|
Return true if the file stream supports ANSI colors. |
Return whether an output error has been encountered. |
|
indent ‐ Insert 'NumSpaces' spaces. |
|
Return true if the underlying file is a regular file. |
|
|
Return true if output from this stream is shown to the user (e.g. a TTY). |
Locks the underlying file. |
|
Write |
|
|
|
|
If possible, pre‐allocate |
|
Resets the colors to terminal defaults. Call this when you are done outputting colored text, or before program exit. |
|
Reverses the foreground and background colors. |
Flushes the stream and repositions the underlying file descriptor position to the offset specified from the beginning of the file. |
|
Return true if this stream can seek its underlying file descriptor. |
|
tell ‐ Return the current offset with the file. |
|
Tie this stream to another stream so that stream is flushed first. |
|
Tries to lock the underlying file within the specified period. |
|
|
|
Output |
|
Output |
|
Write UUID |
|
write_zeros ‐ Insert 'NumZeros' nulls. |
|
Left shift operators |
Static Member Functions
Name |
Description |
Check if |
|
Create a |
Static Data Members
Name |
Description |
Black foreground color constant. |
|
Blue foreground color constant. |
|
Bright black (gray) foreground color constant. |
|
Bright blue foreground color constant. |
|
Bright cyan foreground color constant. |
|
Bright green foreground color constant. |
|
Bright magenta foreground color constant. |
|
Bright red foreground color constant. |
|
Bright white foreground color constant. |
|
Bright yellow foreground color constant. |
|
Cyan foreground color constant. |
|
Green foreground color constant. |
|
Magenta foreground color constant. |
|
Red foreground color constant. |
|
Reset colors to the terminal default. |
|
Saved‐color constant that preserves the current color. |
|
White foreground color constant. |
|
Yellow foreground color constant. |
Protected Member Functions
Name |
Description |
Use the provided buffer as the raw_ostream buffer. |
|
Set the flag indicating that an output error has been encountered. |
|
Return the beginning of the current stream buffer, or 0 if the stream is unbuffered. |
|
Return the file descriptor. |
|
Advance the tracked file position by |
|
|
Return an efficient buffer size for the underlying output mechanism. |
Non-Member Functions
Name |
Description |
Check for bitcode output written to a console. |
|
Print statistics to the given output stream. |
|
Print statistics in JSON format. This does include all global timers ( |
|
Write graph |
|
Write |
|
Create and return a pass that writes the module to the specified ostream. Note that this pass is designed for use with the legacy pass manager. |
|
MIR2VecPrinter pass ‐ This pass prints out the MIR2Vec embeddings for machine functions, basic blocks and instructions. |
|
MIR2VecVocabPrinter pass ‐ This pass prints out the MIR2Vec vocabulary contents to the given stream as a debugging tool. |
|
MachineFunctionPrinter pass ‐ This pass prints out the machine function to the given stream as a debugging tool. |
|
Create and return a pass that prints functions to the specified |
|
MIRPrinting pass ‐ this pass prints out the LLVM IR into the given stream using the MIR serialization format. |
|
Create and return a pass that writes the module to the specified |
|
Emit COFF linker flags to export or exclude a global. |
|
Emit a COFF /INCLUDE: directive so the linker keeps a global. |
|
Write DDG edge |
|
Debug print ModRefInfo. |
|
Print |
|
Write |
|
Print Ensemble |
|
Print SlotIndex |
|
Write |
|
Print |
|
Print Trace |
|
Write the spelled name of |
|
Write a human readable form of |
|
Print a short description useful for debugging or logging. |
|
Write indexed reference |
|
Print a version number. |
|
Write a record field to an output stream. |
|
Print |
|
Write a formatted object to |
|
Stream |
|
Print |
|
Print |
|
An raw_ostream inserter for modules. |
|
Write subrange |
|
Stream operators for Attributor debug printing. |
|
Print an IR position to an output stream. |
|
Write optional value |
|
Write data dependence graph |
|
Invoke |
|
Write a record to an output stream. |
|
Print |
|
Write |
|
Print |
|
Print |
|
Write AliasSet |
|
Print |
|
Print location expression |
|
Print |
|
Print |
|
Print |
|
Write virtual register map |
|
Write a record keeper to an output stream. |
|
Write |
|
Print comparison predicate |
|
Write live‐range segment |
|
Write the live physical registers in |
|
Print a potential LLVM values state to an output stream. |
|
Print SCEVPredicate |
|
Write the LiveRangeUpdater |
|
Write value‐number info |
|
Print an abstract state to an output stream. |
|
Write cache cost |
|
Print dominator tree node |
|
Print SCEVUse |
|
Print |
|
Print |
|
Print |
|
Write |
|
Print |
|
Print |
|
Print an AAPointerInfo access description to an output stream. |
|
Write machine basic block |
|
Prints |
|
Print machine instruction |
|
Print memprof callsite summary |
|
Print |
|
Write live range |
|
Print SCEV |
|
Write |
|
Debug print MemoryEffects. |
|
Write DDG edge kind |
|
Write |
|
Write live interval |
|
Write DDG node |
|
Write the raw fixed‐point frequency value of |
|
Write a PseudoSourceValue to a stream. |
|
Print allocation summary |
|
Write |
|
Write loop nest |
|
Write a representation of |
|
Write a machine constant pool value to a stream. |
|
Print lattice element |
|
Write UTC time point |
|
Write a textual representation of |
|
Write |
|
Print |
|
Print a human‐readable description of |
|
Write |
|
Write |
|
Write AliasSetTracker |
|
Print a RegionNode. |
|
Print |
|
Write DDG node kind |
|
Debug print CaptureComponents. |
|
Print the name of this node's function. |
|
Stream operator function for |
|
Print |
|
Write a textual representation of error |
|
Print a potential constant‐int values state to an output stream. |
|
Print Known to OS. |
|
Print a short description useful for debugging or logging. |
|
Write MemoryAccess |
|
Print a change status to an output stream. |
|
Write |
|
Write time point |
|
Print the reserved intervals of |
|
Print |
|
Print |
|
Write |
|
Print an integer‐range state to an output stream. |
|
Write |
|
Print the constant range |
|
Print address range |
|
Write |
|
Print an integer state to an output stream. |
|
Print MIB summary |
|
Write |
|
Stream a human‐readable representation of |
|
Print |
|
Print |
|
Print legalize action |
|
Print an IR‐position kind to an output stream. |
|
Write live range |
|
Print an ILPValue to a raw_ostream. |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Write |
|
Print |
|
Print |
|
Print the name of a |
|
Print the name of |
|
Print the name of a |
|
Print out a name of an LLVM value without any prefixes. |
|
Print MIR using New Pass Manager (uses FunctionAnalysisManager). If |
|
Print MIR using Legacy Pass Manager (uses MachineModuleInfo). If |
|
Print LLVM IR using the MIR serialization format to the given output stream. |
|
Print |
|
Report collected pass timings immediately and reset the timers to zero. |
|
Write profiling data to an output stream. |
|
Write an archive directly to an output stream. |
|
Write a floating‐point value to a stream. |
|
Write a hexadecimal value to a stream. |
|
Write a signed long long to a stream. |
|
Write an unsigned long to a stream. |
|
Write a signed long to a stream. |
|
Write an unsigned long long to a stream. |
|
Write an unsigned int to a stream. |
|
Write a signed int to a stream. |
|
Print a range to an output stream. |
|
Writes |
|
Emit the .debug_abbrev section described by |
|
Emit the .debug_addr section described by |
|
Emit the .debug_aranges section described by |
|
Emit the .debug_gnu_pubnames section described by |
|
Emit the .debug_gnu_pubtypes section described by |
|
Emit the .debug_info section described by |
|
Emit the .debug_line section described by |
|
Emit the .debug_loclists section described by |
|
Emit the .debug_names section described by |
|
Emit the .debug_pubnames section described by |
|
Emit the .debug_pubtypes section described by |
|
Emit the .debug_ranges section described by |
|
Emit the .debug_rnglists section described by |
|
Emit the .debug_str section described by |
|
Emit the .debug_str_offsets section described by |
|
Print the block name of |
|
Encode a sequence of relocations in ELF CREL format to an output stream. |
|
Print |
|
Print intervals to output stream. |
|
Print an immediate floating‐point class mask constant. |
|
Write the architecture name to an output stream. |
|
Write an architecture set to a raw output stream. |
|
Write a packed version to an output stream. |
|
Write a target to an output stream. |
|
Print |
|
Print |
|
Print the compiler build configuration to |
|
Stream a human‐readable representation of |
|
Print unwind table |
|
Print register locations |
|
Print unwind row |
|
Print unwind location |
|
Dump all strings in a StringTable to a stream with formatted offsets. |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Stream a human‐readable representation of |
|
Attempts to write an IFS interface file to a raw_ostream. |
|
Write a description of block |
|
Write a description of symbol |
|
Write the given symbol lookup flags to an output stream. |
|
Print a description of edge |
|
Serialize |
|
Print a Position for debugging. |
|
Print a Location for debugging. |
|
Print a Range for debugging. |
|
Print SignatureInformation for debugging. |
|
Print a URIForFile for debugging. |
|
Print a TextEdit for debugging. |
|
Print a MarkupKind for debugging. |
|
Print a CompletionItem for debugging. |
|
Print an InlayHintKind for debugging. |
|
Write InstRef |
|
Print an eviction policy immediate to |
|
Print a TMA reduction op immediate to |
|
Print a TCGEN05 collector usage op immediate to |
|
Print a TCGEN05 MMA collector B‐buffer immediate to |
|
Print a TCGEN05 MMA kind immediate to |
|
Print a tensormap element type immediate to |
|
Print a tensormap fill mode immediate to |
|
Print a tensormap interleave layout immediate to |
|
Print a tensormap swizzle atomicity immediate to |
|
Print a tensormap swizzle mode immediate to |
|
Print the ARCInstKind |
|
Print |
|
Render a SymbolMap entry. |
|
Render an array of SymbolStringPtrs. |
|
Stream the builder configuration from |
|
Write |
|
Render a SymbolLookupSet. |
|
Print a MemDeallocPolicy. |
|
Print an AllocGroup. |
|
Dump a SymbolStringPool. Useful for debugging dangling‐pointer crashes. |
|
Print the symbol name of |
|
Render a SymbolLookupSet entry. |
|
Render a SymbolAliasMap. |
|
Render a JITDylibSearchOrder. |
|
Print a MemProt as an RWX triple. |
|
Render a SymbolMap. |
|
Render a SymbolLookupFlags instance. |
|
Render a LookupKind. |
|
Render a SymbolState. |
|
Render a SymbolDependendeMap. |
|
Render a SymbolNameSet. |
|
Write |
|
Render a SymbolDependenceMap entry. |
|
Render a SymbolNameVector. |
|
Render a SymbolFlagsMap entry. |
|
Render a SymbolFlagsMap. |
|
Render a MaterializationUnit. |
|
Render JITSymbolFlags. |
|
/ Render a JITDylibLookupFlags instance. |
|
Write the name of a PDB source‐compression method to |
|
Print an indented |
|
Dump a named symbol‐id field, optionally recursing into the referenced symbol. |
|
Write the name of a |
|
Write the name of a |
|
Write the active payload of a |
|
Write the name of a CodeView thunk ordinal to |
|
Write a CPU register name to |
|
Write the name of a |
|
Write the name of a |
|
Write the name of a |
|
Write the name of a |
|
Write a calling‐convention name (e.g. |
|
Write symbol‐tag counts from |
|
Write a dotted major.minor.build version string to |
|
Write the name of a |
|
Write the name of a |
|
Write the name of a |
|
Write the name of a |
|
Write a printed phi‐use node to |
|
Write a printed definition stack to |
|
Write a printed instruction node to |
|
Write a printed function node to |
|
Write a printed node list to |
|
Write a printed node id to |
|
Write a printed reference node to |
|
Write a printed statement node to |
|
Write a printed register aggregate to |
|
Write a printed register reference to |
|
Write register aggregate |
|
Write a printed node set to |
|
Write a printed register set to |
|
Write a printed phi node to |
|
Write a printed use node to |
|
Write short‐form lane mask |
|
Write a printed definition node to |
|
Write a printed liveness reference map to |
|
Write a printed block node to |
|
Write remark |
|
Write argument |
|
Write remark location |
|
Print |
|
Write |
|
Print |
|
Print |
|
Print |
|
Write a textual representation of |
|
Write |
|
Print |
|
Print |
|
Print |
|
Stream‐print SandboxIR Value |
|
Write |
|
Print |
|
Write a textual representation of |
|
Print |
|
Print the stack trace using the given |
|
Debugging output for Memory::ProtectionFlags. |
|
Debugging output for MemoryBlock. |
|
Print a command argument, and optionally quote it. |
|
This is a function compatible with cl::AddExtraVersionPrinter, which adds info about the current target triple and detected CPU. |
|
Dump each element of |
|
Write |
|
Write |
|
Write |
|
Write |
|
Write |
|
Write |
|
Write |
|
Write a |
|
Write |
|
Write each value in |
|
Write a |
|
Write each value in |
Created with MrDocs