Lines Matching refs:FileNumber
314 unsigned FileNumber, unsigned CUID) {
315 // TODO: a FileNumber of zero says to use the next available file number.
316 // Note: in GenericAsmParser::ParseDirectiveFile() FileNumber was checked
321 // Make space for this FileNumber in the MCDwarfFiles vector if needed.
322 if (FileNumber >= MCDwarfFiles.size()) {
323 MCDwarfFiles.resize(FileNumber + 1);
325 MCDwarfFile *&ExistingFile = MCDwarfFiles[FileNumber];
331 // Get the new MCDwarfFile slot for this FileNumber.
332 MCDwarfFile *&File = MCDwarfFiles[FileNumber];
364 // are stored at MCDwarfFiles[FileNumber].Name .
374 // return the allocated FileNumber.
375 return FileNumber;
380 bool MCContext::isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID) {
382 if(FileNumber == 0 || FileNumber >= MCDwarfFiles.size())
385 return MCDwarfFiles[FileNumber] != 0;