| /llvm-project-15.0.7/clang/tools/clang-format/ |
| H A D | ClangFormat.cpp | 202 static cl::list<std::string> FileNames(cl::Positional, cl::desc("[<file> ...]"), variable 549 if (FileNames.empty()) { in dumpConfig() 557 MemoryBuffer::getFileOrSTDIN(FileNames[0]); in dumpConfig() 562 FileName = (FileNames[0] == "-") ? AssumeFileName : FileNames[0]; in dumpConfig() 606 FileNames.push_back(Line); in main() 613 if (FileNames.empty()) { in main() 617 if (FileNames.size() != 1 && in main() 625 for (const auto &FileName : FileNames) { in main() 627 errs() << "Formatting [" << FileNo++ << "/" << FileNames.size() << "] " in main()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.cpp | 78 return FileIndex < FileNames.size(); in hasFileAtIndex() 83 if (FileNames.empty()) in getLastValidFileIndex() 90 return FileNames.size() - 1; in getLastValidFileIndex() 91 return FileNames.size(); in getLastValidFileIndex() 101 return FileNames[Index]; in getFileNameEntry() 102 return FileNames[Index - 1]; in getFileNameEntry() 114 FileNames.clear(); in clear() 156 if (!FileNames.empty()) { in dump() 160 const FileNameEntry &FileEntry = FileNames[I]; in dump() 227 FileNames.push_back(FileEntry); in parseV2DirFileTables() [all …]
|
| H A D | DWARFVerifier.cpp | 873 for (const auto &FileName : LineTable->Prologue.FileNames) { in verifyDebugLineRows() 935 << LineTable->Prologue.FileNames.size() in verifyDebugLineRows()
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/ |
| H A D | DwarfGenerator.cpp | 193 P.FileNames.push_back(DWARFDebugLine::FileNameEntry()); in createBasicPrologue() 194 P.FileNames.back().Name = in createBasicPrologue() 344 for (auto File : Prologue.FileNames) { in writeV2IncludeAndFileTable() 369 Asm.emitULEB128(Prologue.FileNames.size()); in writeV5IncludeAndFileTable() 370 for (auto File : Prologue.FileNames) { in writeV5IncludeAndFileTable()
|
| H A D | DWARFDebugLineTest.cpp | 178 ASSERT_EQ(Prologue.FileNames.size(), 1u); in checkDefaultPrologue() 179 ASSERT_EQ(Prologue.FileNames[0].Name.getForm(), DW_FORM_string); in checkDefaultPrologue() 180 ASSERT_EQ(Prologue.FileNames[0].DirIdx, 0u); in checkDefaultPrologue() 181 EXPECT_STREQ(*toString(Prologue.FileNames[0].Name), "a file"); in checkDefaultPrologue() 574 EXPECT_EQ(Result.Prologue.FileNames.size(), 0u); 1952 P.FileNames.push_back(DWARFDebugLine::FileNameEntry()); 1953 P.FileNames.back().Name = 1955 P.FileNames.back().DirIdx = 1;
|
| /llvm-project-15.0.7/llvm/unittests/ProfileData/ |
| H A D | CoverageMappingTest.cpp | 294 const char *FileNames[] = {"bar", "baz", "foo"}; in TEST_P() local 295 static const unsigned N = array_lengthof(FileNames); in TEST_P() 301 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1); in TEST_P() 313 EXPECT_EQ(FileNames[Output.Regions[I].LineStart], in TEST_P() 323 const char *FileNames[] = {"bar", "baz", "foo"}; in TEST_P() local 324 static const unsigned N = array_lengthof(FileNames); in TEST_P() 330 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1); in TEST_P() 335 CoverageData Data = LoadedCoverage->getCoverageForFile(FileNames[I]); in TEST_P()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCAssembler.h | 135 std::vector<std::pair<std::string, size_t>> FileNames; variable 480 return FileNames; in getFileNames() 484 FileNames.emplace_back(std::string(FileName), Symbols.size()); in addFileName()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryContext.cpp | 1483 const std::vector<DWARFDebugLine::FileNameEntry> &FileNames = in addDebugFilenameToUnit() local 1484 LineTable->Prologue.FileNames; in addDebugFilenameToUnit() 1487 assert(FileIndex > 0 && FileIndex <= FileNames.size() && in addDebugFilenameToUnit() 1490 if (FileNames[FileIndex - 1].DirIdx != 0) { in addDebugFilenameToUnit() 1499 dwarf::toString(FileNames[FileIndex - 1].Name)) in addDebugFilenameToUnit() 1649 const std::vector<DWARFDebugLine::FileNameEntry> &FileNames = in preprocessDebugInfo() local 1650 LineTable->Prologue.FileNames; in preprocessDebugInfo() 1656 Checksum = LineTable->Prologue.FileNames[0].Checksum; in preprocessDebugInfo() 1673 if (FileNames.empty()) { in preprocessDebugInfo() 1683 if (FileNames[I].DirIdx != 0 || DwarfVersion >= 5) in preprocessDebugInfo() [all …]
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 208 std::vector<std::pair<std::string, size_t>> FileNames; member in __anondfe4bda90111::XCOFFObjectWriter 502 FileNames = Asm.getFileNames(); in executePostLayoutBinding() 504 if (FileNames.empty()) in executePostLayoutBinding() 505 FileNames.emplace_back(".file", 0); in executePostLayoutBinding() 506 for (const std::pair<std::string, size_t> &F : FileNames) { in executePostLayoutBinding() 878 for (const std::pair<std::string, size_t> &F : FileNames) { in writeSymbolTable() 979 uint32_t SymbolTableIndex = FileNames.size(); in assignAddressesAndIndices()
|
| H A D | ELFObjectWriter.cpp | 632 MutableArrayRef<std::pair<std::string, size_t>> FileNames = in computeSymbolTable() local 634 for (const std::pair<std::string, size_t> &F : FileNames) in computeSymbolTable() 731 auto FileNameIt = FileNames.begin(); in computeSymbolTable() 732 if (!FileNames.empty()) in computeSymbolTable() 733 FileNames[0].second = 0; in computeSymbolTable() 737 for (; FileNameIt != FileNames.end() && FileNameIt->second <= MSD.Order; in computeSymbolTable() 751 for (; FileNameIt != FileNames.end(); ++FileNameIt) { in computeSymbolTable()
|
| H A D | MCAssembler.cpp | 104 FileNames.clear(); in reset()
|
| /llvm-project-15.0.7/lldb/unittests/Interpreter/ |
| H A D | TestCompletion.cpp | 75 const char *FileNames[] = {"aa1234.tmp", "ab1234.tmp", "ac1234.tmp", in SetUp() local 88 for (auto File : llvm::zip(FileNames, Files)) { in SetUp()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXLoadedDiagnostic.cpp | 43 Strings FileNames; member in __anonbd2aa1f80111::CXLoadedDiagnosticSetImpl 344 TopDiags->FileNames[ID] = TopDiags->copyString(Name); in visitFilenameRecord()
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | BugDriver.h | 75 bool addSources(const std::vector<std::string> &FileNames);
|
| /llvm-project-15.0.7/llvm/tools/sancov/ |
| H A D | sancov.cpp | 1035 static void readAndPrintRawCoverage(const std::vector<std::string> &FileNames, in readAndPrintRawCoverage() argument 1038 for (const auto &FileName : FileNames) { in readAndPrintRawCoverage() 1080 readSymbolizeAndMergeCmdArguments(std::vector<std::string> FileNames) { in readSymbolizeAndMergeCmdArguments() argument 1090 for (const auto &FileName : FileNames) { in readSymbolizeAndMergeCmdArguments()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.h | 94 std::vector<FileNameEntry> FileNames; member
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/ |
| H A D | DwarfTransformer.cpp | 40 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | SymbolFileDWARF.cpp | 223 const size_t number_of_files = prologue.FileNames.size();
|