Home
last modified time | relevance | path

Searched refs:FileNumber (Results 1 – 5 of 5) sorted by relevance

/external/llvm/include/llvm/MC/
DMCDwarf.h207 unsigned FileNumber = 0);
239 unsigned FileNumber = 0);
304 unsigned FileNumber; variable
313 : Name(name), FileNumber(fileNumber), LineNumber(lineNumber), in MCGenDwarfLabelEntry()
317 unsigned getFileNumber() const { return FileNumber; } in getFileNumber()
DMCContext.h417 unsigned FileNumber, unsigned CUID);
419 bool isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID = 0);
479 void setGenDwarfFileNumber(unsigned FileNumber) { in setGenDwarfFileNumber() argument
480 GenDwarfFileNumber = FileNumber; in setGenDwarfFileNumber()
/external/llvm/lib/MC/
DMCContext.cpp455 unsigned FileNumber, unsigned CUID) { in getDwarfFile() argument
457 return Table.getFile(Directory, FileName, FileNumber); in getDwarfFile()
462 bool MCContext::isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID) { in isValidDwarfFileNumber() argument
464 if (FileNumber == 0 || FileNumber >= MCDwarfFiles.size()) in isValidDwarfFileNumber()
467 return !MCDwarfFiles[FileNumber].Name.empty(); in isValidDwarfFileNumber()
DMCDwarf.cpp332 unsigned FileNumber) { in getFile() argument
333 return Header.getFile(Directory, FileName, FileNumber); in getFile()
338 unsigned FileNumber) { in getFile() argument
346 if (FileNumber == 0) { in getFile()
347 FileNumber = SourceIdMap.size() + 1; in getFile()
348 assert((MCDwarfFiles.empty() || FileNumber == MCDwarfFiles.size()) && in getFile()
353 FileNumber)); in getFile()
358 MCDwarfFiles.resize(FileNumber + 1); in getFile()
361 MCDwarfFile &File = MCDwarfFiles[FileNumber]; in getFile()
402 return FileNumber; in getFile()
[all …]
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp1759 unsigned FileNumber = getStreamer().EmitDwarfFileDirective( in parseStatement() local
1761 getContext().setGenDwarfFileNumber(FileNumber); in parseStatement()
2889 int64_t FileNumber = -1; in parseDirectiveFile() local
2892 FileNumber = getTok().getIntVal(); in parseDirectiveFile()
2895 if (FileNumber < 1) in parseDirectiveFile()
2913 if (FileNumber == -1) in parseDirectiveFile()
2927 if (FileNumber == -1) in parseDirectiveFile()
2935 if (getStreamer().EmitDwarfFileDirective(FileNumber, Directory, Filename) == in parseDirectiveFile()
2973 int64_t FileNumber = getTok().getIntVal(); in parseDirectiveLoc() local
2974 if (FileNumber < 1) in parseDirectiveLoc()
[all …]