Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/MC/MCStreamer.h
Show First 20 Lines • Show All 802 Lines • ▼ Show 20 Lines | public: | ||||
/// Associate a filename with a specified logical file number. This | /// Associate a filename with a specified logical file number. This | ||||
/// implements the DWARF2 '.file 4 "foo.c"' assembler directive. | /// implements the DWARF2 '.file 4 "foo.c"' assembler directive. | ||||
unsigned EmitDwarfFileDirective(unsigned FileNo, StringRef Directory, | unsigned EmitDwarfFileDirective(unsigned FileNo, StringRef Directory, | ||||
StringRef Filename, | StringRef Filename, | ||||
Optional<MD5::MD5Result> Checksum = None, | Optional<MD5::MD5Result> Checksum = None, | ||||
Optional<StringRef> Source = None, | Optional<StringRef> Source = None, | ||||
unsigned CUID = 0) { | unsigned CUID = 0) { | ||||
return cantFail( | return llvm_cantFail( | ||||
tryEmitDwarfFileDirective(FileNo, Directory, Filename, Checksum, | tryEmitDwarfFileDirective(FileNo, Directory, Filename, Checksum, | ||||
Source, CUID)); | Source, CUID)); | ||||
} | } | ||||
/// Associate a filename with a specified logical file number. | /// Associate a filename with a specified logical file number. | ||||
/// Also associate a directory, optional checksum, and optional source | /// Also associate a directory, optional checksum, and optional source | ||||
/// text with the logical file. This implements the DWARF2 | /// text with the logical file. This implements the DWARF2 | ||||
/// '.file 4 "dir/foo.c"' assembler directive, and the DWARF5 | /// '.file 4 "dir/foo.c"' assembler directive, and the DWARF5 | ||||
▲ Show 20 Lines • Show All 233 Lines • Show Last 20 Lines |