Home
last modified time | relevance | path

Searched +defs:buffer +defs:file +defs:name (Results 1 – 21 of 21) sorted by relevance

/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dinternal_symbolizer.cpp39 std::string file; member
89 char buffer[1024] = {}; in Symbolize() local
127 char buffer[1024] = {}; in SymbolizeStaticVar() local
143 char buffer[1024] = {}; in SymbolizeLocalVars() local
172 const char name[] = "_Z3fooi"; in TestDemangle() local
/llvm-project/lld/ELF/
H A DDriver.cpp220 std::unique_ptr<Archive> file = getArchiveMembers() local
268 std::optional<MemoryBufferRef> buffer = readFile(path); addFile() local
356 addLibrary(StringRef name) addLibrary() argument
858 StringRef name; getSectionStartMap() local
942 __anonbfcc94b00202(StringRef name) readCallGraph() argument
1017 for (auto file : ctx.objectFiles) { readCallGraphsFromObjectFiles() local
1046 __anonbfcc94b00302(StringRef name) ltoValidateAllVtablesHaveTypeInfos() argument
1058 StringRef name = check(s.getName(f->getStringTable())); ltoValidateAllVtablesHaveTypeInfos() local
1068 StringRef name = check(s.getName(f->getStringTable())); ltoValidateAllVtablesHaveTypeInfos() local
1510 std::optional<MemoryBufferRef> buffer = readFile(filename); readConfigs() local
1728 if (std::optional<MemoryBufferRef> buffer = readFile(arg->getValue())) { readConfigs() local
1747 if (std::optional<MemoryBufferRef> buffer = readFile(arg->getValue())) readConfigs() local
1779 if (std::optional<MemoryBufferRef> buffer = readFile(arg->getValue())) readConfigs() local
1784 if (std::optional<MemoryBufferRef> buffer = readFile(*path)) readConfigs() local
2126 __anonbfcc94b00502(InputFile *file) excludeLibs() argument
2179 handleLibcall(StringRef name) handleLibcall() argument
2366 StringRef name = arg->getValue(); findKeepUniqueSections() local
2540 StringRef name = arg->getValue(); addWrappedSymbols() local
2655 __anonbfcc94b00702(ELFFileBase *file) redirectSymbols() argument
2782 initSectionsAndLocalSyms(ELFFileBase * file,bool ignoreComdats) initSectionsAndLocalSyms() argument
2801 postParseObjectFile(ELFFileBase * file) postParseObjectFile() argument
2833 for (StringRef name : config->undefined) link() local
2855 for (StringRef name : config->undefined) link() local
2891 __anonbfcc94b00902(ELFFileBase *file) link() argument
2896 __anonbfcc94b00a02(BitcodeFile *file) link() argument
2982 __anonbfcc94b00b02(ELFFileBase *file) link() argument
3151 if (std::optional<MemoryBufferRef> buffer = readFile(arg->getValue())) link() local
[all...]
H A DWriter.cpp83 std::unique_ptr<FileOutputBuffer> &buffer; global() member in __anon72a0e0a10111::Writer
141 addOptionalRegular(StringRef name,SectionBase * sec,uint64_t val,uint8_t stOther=STV_HIDDEN) addOptionalRegular() argument
158 __anon72a0e0a10302(StringRef name) addReservedSymbols() argument
295 findSection(StringRef name,unsigned partition=1) findSection() argument
382 markUsedLocalSymbolsImpl(ObjFile<ELFT> * file,llvm::ArrayRef<RelTy> rels) markUsedLocalSymbolsImpl() argument
724 StringRef name = osec.name; getSectionRank() local
743 StringRef name = osec.name; getSectionRank() local
786 std::string name = config->isRela ? "__rela_iplt_start" : "__rel_iplt_start"; addRelIpltSymbols() local
1174 StringRef name = osec.name; sortSection() local
1843 if (auto *file = dyn_cast_or_null<SharedFile>(sym->file)) finalizeSections() local
2564 checkOverlap(StringRef name,std::vector<SectionOffset> & sections,bool isVirtualAddr) checkOverlap() argument
[all...]
/llvm-project/lld/MachO/
H A DDriver.cpp86 findLibrary(StringRef name) findLibrary() argument
117 findFramework(StringRef name) findFramework() argument
171 SmallString<261> buffer(root); getSearchPaths() local
190 SmallString<261> buffer(root); getSearchPaths() local
267 ArchiveFile *file; global() member
277 std::optional<MemoryBufferRef> buffer = readFile(path); addFile() local
295 ArchiveFile *file; addFile() local
416 addLibrary(StringRef name,bool isNeeded,bool isWeak,bool isReexport,bool isHidden,bool isExplicit,LoadType loadType) addLibrary() argument
443 addFramework(StringRef name,bool isNeeded,bool isWeak,bool isReexport,bool isExplicit,LoadType loadType) addFramework() argument
449 InputFile *file = addFramework() local
503 StringRef name = argv[++i]; parseLCLinkerOption() local
526 StringRef name = LCLinkerOptions[++i]; resolveLCLinkerOptions() local
539 std::optional<MemoryBufferRef> buffer = readFile(path); addFileList() local
1137 std::optional<MemoryBufferRef> buffer = readFile(path); parseSymbolPatternsFile() local
1244 for (const InputFile *file : inputFiles) { gatherInputSections() local
1328 for (const InputFile *file : inputFiles) { createAliases() local
1962 std::optional<MemoryBufferRef> buffer = readFile(fileName); link() local
[all...]
H A DDriverUtils.cpp164 if (std::optional<MemoryBufferRef> buffer = readFile(arg->getValue())) createResponseFile() local
227 DylibFile *&file = loadedDylibs[path]; loadDylib() local
273 findPathCombination(const Twine & name,const std::vector<StringRef> & roots,ArrayRef<StringRef> extensions) findPathCombination() argument
[all...]
H A DWriter.cpp70 std::unique_ptr<FileOutputBuffer> &buffer; global() member in __anonf2ed8e120111::Writer
224 LCSegment(StringRef name,OutputSegment * seg) LCSegment() argument
272 StringRef name; global() member in __anonf2ed8e120111::LCSegment
415 LCDyldEnv(StringRef name) LCDyldEnv() argument
435 StringRef name; global() member in __anonf2ed8e120111::LCDyldEnv
762 for (const InputFile *file : inputFiles) { scanSymbols() local
1189 __anonf2ed8e120702(const InputFile *file) applyOptimizationHints() argument
[all...]
/llvm-project/lld/wasm/
H A DDriver.cpp251 std::unique_ptr<Archive> file = getArchiveMembers() local
276 std::optional<MemoryBufferRef> buffer = readFile(path); addFile() local
304 std::unique_ptr<Archive> file = addFile() local
342 searchLibraryBaseName(StringRef name) searchLibraryBaseName() argument
354 searchLibrary(StringRef name) searchLibrary() argument
361 addLibrary(StringRef name) addLibrary() argument
751 handleUndefined(StringRef name,const char * option) handleUndefined() argument
769 handleLibcall(StringRef name) handleLibcall() argument
813 createUndefinedGlobal(StringRef name,llvm::wasm::WasmGlobalType * type) createUndefinedGlobal() argument
821 createGlobal(StringRef name,bool isMutable) createGlobal() argument
830 createGlobalVariable(StringRef name,bool isMutable) createGlobalVariable() argument
835 createOptionalGlobal(StringRef name,bool isMutable) createOptionalGlobal() argument
1080 addUndefined(StringRef name) addUndefined() argument
1096 StringRef name = arg->getValue(); addWrappedSymbols() local
1134 __anonb9c009110502(InputFile *file) wrapSymbols() argument
1150 __anonb9c009110602(ObjFile *file) splitSections() argument
[all...]
/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp345 std::string file; Handle_qfProcessInfo() local
436 if (std::optional<llvm::StringRef> name = Handle_qUserName() local
456 if (std::optional<llvm::StringRef> name = Handle_qGroupName() local
513 auto file = FileSystem::Instance().Open(path_spec, flags, mode, false); Handle_vFile_Open() local
539 HANDLE_ERRNO(name,value) system_errno_to_gdb() argument
556 NativeFile file(fd, File::OpenOptions(0), true); Handle_vFile_Close() local
586 std::string buffer(count, 0); Handle_vFile_pRead() local
587 NativeFile file(fd, File::eOpenOptionReadOnly, false); Handle_vFile_pRead() local
618 std::string buffer; Handle_vFile_pWrite() local
620 NativeFile file(fd, File::eOpenOptionWriteOnly, false); Handle_vFile_pWrite() local
1174 llvm::StringRef file, triple; Handle_jModulesInfo() local
[all...]
/llvm-project/mlir/lib/Tools/mlir-opt/
H A DMlirOptMain.cpp253 std::unique_ptr<MemoryBuffer> file = openInputFile(irdlFile, &errorMessage); loadIRDLDialects() local
295 std::string buffer; doVerifyRoundTrip() local
511 __anonaf8ca36b0702(auto name) registerAndParseCLIOptions() argument
526 MlirOptMain(llvm::raw_ostream & outputStream,std::unique_ptr<llvm::MemoryBuffer> buffer,DialectRegistry & registry,const MlirOptMainConfig & config) MlirOptMain() argument
578 auto file = openInputFile(inputFilename, &errorMessage); MlirOptMain() local
[all...]
/llvm-project/lld/COFF/
H A DPDB.cpp189 /// The object file whose .debug$S sections we're processing. member in __anon18f19c410111::DebugSHandler
232 DebugSHandler(PDBLinker & linker,ObjFile & file) DebugSHandler() argument
425 scopeStackClose(SmallVectorImpl<uint32_t> & stack,std::vector<uint8_t> & storage,uint32_t storageBaseOffset,ObjFile * file) scopeStackClose() argument
585 ObjFile *file = debugChunk->file; analyzeSymbolSubsection() local
643 writeAllModuleSymbolRecords(ObjFile * file,BinaryStreamWriter & writer) writeAllModuleSymbolRecords() argument
1018 uint8_t *buffer = bAlloc().Allocate<uint8_t>(debugChunk.getSize()); relocateDebugChunk() local
1073 createModuleDBI(ObjFile * file) createModuleDBI() argument
1221 StringRef name = def->getName(); addPublicsToPDB() local
1245 SmallString<256> buffer; printStats() local
1270 __anon18f19c410a02(StringRef name, ArrayRef<uint32_t> recCounts, TypeCollection &records) printStats() argument
1325 for (StringRef file : ctx.config.natvisFiles) { addNatvisFiles() local
1347 const StringRef stream = streamFile.getKey(), file = streamFile.getValue(); addNamedStreams() local
[all...]
H A DWriter.cpp187 StringRef name; global() member in __anonaec617080111::PartialSectionKey
279 std::unique_ptr<FileOutputBuffer> &buffer; global() member in __anonaec617080111::Writer
475 ObjFile *file = sc->file; createThunks() local
794 getOutputSectionName(StringRef name) getOutputSectionName() argument
818 fixPartialSectionChars(StringRef name,uint32_t chars) fixPartialSectionChars() argument
929 shouldStripSectionSuffix(SectionChunk * sc,StringRef name,bool isMinGW) shouldStripSectionSuffix() argument
976 __anonaec617080702(StringRef name, uint32_t outChars) createSections() argument
1008 StringRef name = c->getSectionName(); createSections() local
1042 StringRef name = getOutputSectionName(pSec->name); createSections() local
1334 StringRef name = def->getName(); createSymbol() local
1868 markSymbolsWithRelocations(ObjFile * file,SymbolRVASet & usedSymbols) markSymbolsWithRelocations() argument
1976 getSymbolsFromSections(ObjFile * file,ArrayRef<SectionChunk * > symIdxChunks,std::vector<Symbol * > & symbols) getSymbolsFromSections() argument
2016 markSymbolsForRVATable(ObjFile * file,ArrayRef<SectionChunk * > symIdxChunks,SymbolRVASet & tableSymbols) markSymbolsForRVATable() argument
2133 StringRef name = p.first; setSectionPermissions() local
2328 findSection(StringRef name) findSection() argument
2381 createPartialSection(StringRef name,uint32_t outChars) createPartialSection() argument
2390 findPartialSection(StringRef name,uint32_t outChars) findPartialSection() argument
[all...]
H A DDriver.cpp192 std::unique_ptr<Archive> file = addBuffer() local
359 parseDirectives(InputFile * file) parseDirectives() argument
699 addUndefined(StringRef name) addUndefined() argument
1127 __anonfbf1cb170702(StringRef name) parseCallGraphFile() argument
1687 const StringRef name = nameFile.first; linkerMain() local
1688 const std::string file = nameFile.second.str(); linkerMain() local
2149 SmallString<256> buffer; linkerMain() local
2534 ObjFile *file = *i; linkerMain() local
2560 StringRef name = pair.first; linkerMain() local
[all...]
/llvm-project/polly/lib/External/isl/
H A Disl_stream.c20 char *name; member
32 const char *name) in isl_stream_register_keyword()
219 __isl_give isl_stream* isl_stream_new_file(struct isl_ctx *ctx, FILE *file) in isl_stream_new_file()
300 char *buffer; in isl_stream_push_char() local
/llvm-project/openmp/runtime/src/
H A Dz_Linux_util.cpp124 __kmp_print_cond(char * buffer,kmp_cond_align_t * cond) __kmp_print_cond() argument
1519 char buffer[128]; __kmp_suspend_template() local
1618 char buffer[128]; __kmp_suspend_template() local
1721 char buffer[128]; __kmp_resume_template() local
1771 char buffer[128]; __kmp_resume_monitor() local
1820 struct tms buffer; __kmp_read_cpu_time() local
2104 char *name = __kmp_str_format("/proc/%d/maps", getpid()); __kmp_is_address_mapped() local
2105 FILE *file = NULL; __kmp_is_address_mapped() local
2222 int file; __kmp_is_address_mapped() local
2232 char *name = __kmp_str_format("/proc/%d/map", pid); __kmp_is_address_mapped() local
2269 int buffer; __kmp_is_address_mapped() local
2664 char buffer[65]; __kmp_get_load_balance() local
[all...]
/llvm-project/mlir/lib/Target/LLVM/ROCDL/
H A DTarget.cpp109 if (auto file = dyn_cast<StringAttr>(attr)) SerializeGPUModuleBase() local
246 __anon2e8d2a260502(StringRef name, uint32_t value, uint32_t bitwidth) addControlVariables() argument
399 StringRef buffer = (*hsacoFile)->getBuffer(); compileToBinary() local
[all...]
/llvm-project/lld/ELF/Arch/
H A DARM.cpp378 needsThunk(RelExpr expr,RelType type,const InputFile * file,uint64_t branchAddr,const Symbol & s,int64_t a) const needsThunk() argument
1274 StringRef name = acleSeSym->getName().substr(std::strlen(ACLESESYM_PREFIX)); processArmCmseSymbols() local
1296 __anon9bdb8d710402(InputFile *file) processArmCmseSymbols() argument
1488 std::unique_ptr<FileOutputBuffer> &buffer = *bufferOrErr; writeARMCmseImportLib() local
[all...]
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h305 FillMemoryProfile(uptr start,uptr rss,bool file,uptr * stats) FillMemoryProfile() argument
466 u64* buffer; global() variable
711 MapWithCallback(uptr beg,uptr size,const char * name) MapWithCallback() argument
723 MapWithCallbackOrDie(uptr beg,uptr size,const char * name) MapWithCallbackOrDie() argument
[all...]
/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp368 CreateInstance(const lldb::ModuleSP & module_sp,DataBufferSP data_sp,lldb::offset_t data_offset,const lldb_private::FileSpec * file,lldb::offset_t file_offset,lldb::offset_t length) CreateInstance() argument
543 GetModuleSpecifications(const lldb_private::FileSpec & file,lldb::DataBufferSP & data_sp,lldb::offset_t data_offset,lldb::offset_t file_offset,lldb::offset_t length,lldb_private::ModuleSpecList & specs) GetModuleSpecifications() argument
682 ObjectFileELF(const lldb::ModuleSP & module_sp,DataBufferSP data_sp,lldb::offset_t data_offset,const FileSpec * file,lldb::offset_t file_offset,lldb::offset_t length) ObjectFileELF() argument
1488 ConstString name(shstr_data.PeekCStr(I->sh_name)); GetSectionHeaderInfo() local
1639 GetSectionIndexByName(const char * name) GetSectionIndexByName() argument
1866 ConstString name = section->GetName(); FindMatchingSection() local
1930 ConstString &name = I->section_name; CreateSections() local
2742 const char *name = symbol->GetName().GetCString(); ApplyELF32ABS32RelRelocation() local
3551 char buffer[256]; CalculateStrata() local
3685 MapFileDataWritable(const FileSpec & file,uint64_t Size,uint64_t Offset) MapFileDataWritable() argument
[all...]
/llvm-project/lldb/source/Target/
H A DTarget.cpp396 CreateBreakpoint(const FileSpecList * containingModules,const FileSpec & file,uint32_t line_no,uint32_t column,lldb::addr_t offset,LazyBool check_inlines,LazyBool skip_prologue,bool internal,bool hardware,LazyBool move_to_nearest_code) CreateBreakpoint() argument
731 AddNameToBreakpoint(BreakpointID & id,llvm::StringRef name,Status & error) AddNameToBreakpoint() argument
744 AddNameToBreakpoint(BreakpointSP & bp_sp,llvm::StringRef name,Status & error) AddNameToBreakpoint() argument
762 FindBreakpointName(ConstString name,bool can_create,Status & error) FindBreakpointName() argument
785 DeleteBreakpointName(ConstString name) DeleteBreakpointName() argument
797 RemoveNameFromBreakpoint(lldb::BreakpointSP & bp_sp,ConstString name) RemoveNameFromBreakpoint() argument
1065 SerializeBreakpointsToFile(const FileSpec & file,const BreakpointIDList & bp_ids,bool append) SerializeBreakpointsToFile() argument
1157 CreateBreakpointsFromFile(const FileSpec & file,BreakpointIDList & new_bps) CreateBreakpointsFromFile() argument
1163 CreateBreakpointsFromFile(const FileSpec & file,std::vector<std::string> & names,BreakpointIDList & new_bps) CreateBreakpointsFromFile() argument
2440 GetRegisterType(const std::string & name,const lldb_private::RegisterFlags & flags,uint32_t byte_size) GetRegisterType() argument
2540 GetFunctionCallerForLanguage(lldb::LanguageType language,const CompilerType & return_type,const Address & function_address,const ValueList & arg_value_list,const char * name,Status & error) GetFunctionCallerForLanguage() argument
2567 CreateUtilityFunction(std::string expression,std::string name,lldb::LanguageType language,ExecutionContext & exe_ctx) CreateUtilityFunction() argument
2723 GetPersistentVariable(ConstString name) GetPersistentVariable() argument
2742 GetPersistentSymbol(ConstString name) GetPersistentSymbol() argument
3566 AddDummySignal(llvm::StringRef name,LazyBool pass,LazyBool notify,LazyBool stop) AddDummySignal() argument
4102 TargetOptionValueProperties(llvm::StringRef name) TargetOptionValueProperties() argument
4551 std::string buffer; CheckJITObjectsDir() local
4649 OptionValueFileSpec *file = GetExpressionPrefixContents() local
[all...]
H A DProcess.cpp93 ProcessOptionValueProperties(llvm::StringRef name) ProcessOptionValueProperties() argument
267 SetPythonOSPluginPath(const FileSpec & file) SetPythonOSPluginPath() argument
2457 std::string buffer(size, 0); CallocateMemory() local
[all...]
/llvm-project/lldb/source/Core/
H A DFormatEntity.cpp559 DumpFile(Stream & s,const FileSpec & file,FileKind file_kind) DumpFile() argument
1649 const char *name = nullptr; Format() local
1685 ConstString name; Format() local
1776 const char *name = nullptr; Format() local
2469 std::string buffer; PrettyPrintFunctionArguments() local
[all...]