[#llvm-CodeViewContext-addFile] = xref:llvm.adoc[llvm]::xref:llvm/CodeViewContext.adoc[CodeViewContext]::addFile :relfileprefix: ../../ :mrdocs: Record a .cv_file entry and return true on success. == Synopsis Declared in `<llvm/MC/MCCodeView.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool addFile( xref:llvm/MCStreamer.adoc[MCStreamer]& OS, unsigned int FileNumber, xref:llvm/StringRef.adoc[StringRef] Filename, xref:llvm/ArrayRef-08.adoc[ArrayRef<uint8_t>] ChecksumBytes, uint8_t ChecksumKind); ---- == Return Value True on success; false if the file number is invalid or already used. == Parameters [cols="1,4"] |=== | Name| Description | *OS* | ‐ Streamer used when creating related symbols. | *FileNumber* | ‐ File number assigned by the directive. | *Filename* | ‐ Path recorded for this file. | *ChecksumBytes* | ‐ Optional checksum bytes for the file. | *ChecksumKind* | ‐ CodeView checksum kind identifier. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#