Lines Matching refs:obj_file

367 bool LoadELF(const string& obj_file, MmapWrapper* map_wrapper,  in LoadELF()  argument
369 int obj_fd = open(obj_file.c_str(), O_RDONLY); in LoadELF()
372 obj_file.c_str(), strerror(errno)); in LoadELF()
379 obj_file.c_str(), strerror(errno)); in LoadELF()
386 obj_file.c_str(), strerror(errno)); in LoadELF()
392 fprintf(stderr, "Not a valid ELF file: %s\n", obj_file.c_str()); in LoadELF()
430 const string& obj_file, in ReadDebugLink() argument
443 if (!realpath(obj_file.c_str(), obj_file_abspath)) { in ReadDebugLink()
444 fprintf(stderr, "Cannot resolve absolute path for %s\n", obj_file.c_str()); in ReadDebugLink()
501 obj_file.c_str()); in ReadDebugLink()
585 bool LoadSymbols(const string& obj_file, in LoadSymbols() argument
601 info->set_loading_addr(loading_addr, obj_file); in LoadSymbols()
630 " STABS debugging information\n", obj_file.c_str()); in LoadSymbols()
645 if (!LoadDwarf<ElfClass>(obj_file, elf_header, big_endian, in LoadSymbols()
648 "DWARF debugging information\n", obj_file.c_str()); in LoadSymbols()
695 LoadDwarfCFI<ElfClass>(obj_file, elf_header, ".debug_frame", in LoadSymbols()
721 LoadDwarfCFI<ElfClass>(obj_file, elf_header, ".eh_frame", in LoadSymbols()
731 obj_file.c_str()); in LoadSymbols()
748 obj_file, in LoadSymbols()
753 "but no debug path specified.\n", obj_file.c_str()); in LoadSymbols()
757 obj_file.c_str()); in LoadSymbols()
925 bool ReadSymbolDataInternal(const uint8_t* obj_file, in ReadSymbolDataInternal() argument
930 if (!IsValidElf(obj_file)) { in ReadSymbolDataInternal()
935 int elfclass = ElfClass(obj_file); in ReadSymbolDataInternal()
938 reinterpret_cast<const Elf32_Ehdr*>(obj_file), obj_filename, debug_dirs, in ReadSymbolDataInternal()
943 reinterpret_cast<const Elf64_Ehdr*>(obj_file), obj_filename, debug_dirs, in ReadSymbolDataInternal()
950 bool WriteSymbolFile(const string &obj_file, in WriteSymbolFile() argument
955 if (!ReadSymbolData(obj_file, debug_dirs, options, &module)) in WriteSymbolFile()
963 bool ReadSymbolData(const string& obj_file, in ReadSymbolData() argument
969 if (!LoadELF(obj_file, &map_wrapper, &elf_header)) in ReadSymbolData()
973 obj_file, debug_dirs, options, module); in ReadSymbolData()