Uniques nul‐terminated strings and tracks their offsets in a contiguous allocation.
Synopsis
Declared in <llvm/TableGen/StringToOffsetTable.h>
class StringToOffsetTable;
Description
This class uniques a bunch of nul‐terminated strings and keeps track of their offset in a massive contiguous string allocation. It can then output this string blob and use indexes into the string to reference each piece.
Member Functions
Name |
Description |
|
Construct a table that starts with the empty string at offset zero. |
Emit the aggregate string contents as a single escaped string literal. |
|
Emit a string table definition named |
|
Return the offset of |
|
Return the offset of |
|
Return true if the offset map contains no strings. |
|
Return the size in bytes of the aggregate string allocation. |
Created with MrDocs