Associate a filename with a specified logical file number, and also specify that file's checksum information. This implements the '.cv_file 4 "foo.c"' assembler directive. Returns true on success.
Declared in <llvm/MC/MCStreamer.h>
virtual
bool
emitCVFileDirective(
unsigned int FileNo,
StringRef Filename,
ArrayRef<uint8_t> Checksum,
unsigned int ChecksumKind);
| Name | Description |
|---|---|
| Filename | Represent a constant reference to a string, i.e. a character array and a length, which need not be null terminated. |
| Checksum | Represent a constant reference to an array (0 or more elements consecutively in memory), i.e. a start pointer and a length. It allows various APIs to take consecutive elements easily and conveniently. |