Lines Matching defs:obj_file

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