Reinterpret a byte array as a null-terminated C string.
Declared in <llvm/DebugInfo/CodeView/RecordSerialization.h>
StringRef
getBytesAsCString(ArrayRef<uint8_t> LeafData);
The bytes up to the first null terminator as a StringRef.
| Name | Description |
|---|---|
| LeafData | Bytes containing a C string payload. |