Home
last modified time | relevance | path

Searched full:objfile (Results 1 – 25 of 148) sorted by relevance

123456

/external/llvm-project/llvm/lib/XRay/
DInstrumentationMap.cpp54 loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile, in loadObj() argument
61 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) || in loadObj()
62 !(ObjFile.getBinary()->getArch() == Triple::x86_64 || in loadObj()
63 ObjFile.getBinary()->getArch() == Triple::ppc64le || in loadObj()
64 ObjFile.getBinary()->getArch() == Triple::arm || in loadObj()
65 ObjFile.getBinary()->getArch() == Triple::aarch64)) in loadObj()
72 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj()
95 if (ObjFile.getBinary()->isELF()) { in loadObj()
96 uint32_t RelativeRelocation = [](object::ObjectFile *ObjFile) { in loadObj() argument
97 if (const auto *ELFObj = dyn_cast<object::ELF32LEObjectFile>(ObjFile)) in loadObj()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DInstrumentationMap.cpp54 loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile, in loadObj() argument
61 if ((!ObjFile.getBinary()->isELF() && !ObjFile.getBinary()->isMachO()) || in loadObj()
62 !(ObjFile.getBinary()->getArch() == Triple::x86_64 || in loadObj()
63 ObjFile.getBinary()->getArch() == Triple::ppc64le || in loadObj()
64 ObjFile.getBinary()->getArch() == Triple::aarch64)) in loadObj()
70 const auto &Sections = ObjFile.getBinary()->sections(); in loadObj()
90 if (ObjFile.getBinary()->isELF()) { in loadObj()
91 uint32_t RelativeRelocation = [](object::ObjectFile *ObjFile) { in loadObj() argument
92 if (const auto *ELFObj = dyn_cast<object::ELF32LEObjectFile>(ObjFile)) in loadObj()
94 else if (const auto *ELFObj = dyn_cast<object::ELF32BEObjectFile>(ObjFile)) in loadObj()
[all …]
/external/python/cpython2/Modules/
Dld_so_aix.in110 shift; objfile=$1
114 objfile=`echo $1 | sed "s/-o//"`
135 if test "$objfile" = "libpython@VERSION@.so"; then
148 if test -z "$objfile"; then
149 objfile=shr.o
152 filename=`basename $objfile | sed "s/\.[^.]*$//"`
166 #echo " -> output file : $objfile"
178 CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -Wl,-brtl -Wl,-bnortllib -lm -o $objfile"
183 #echo $makexp $expfile "$objfile" $objs
184 $makexp $expfile "$objfile" $objs
/external/python/cpython3/Modules/
Dld_so_aix.in110 shift; objfile=$1
114 objfile=`echo $1 | sed "s/-o//"`
135 if test "$objfile" = "libpython@VERSION@@ABIFLAGS@.so"; then
148 if test -z "$objfile"; then
149 objfile=shr.o
152 filename=`basename $objfile | sed "s/\.[^.]*$//"`
166 #echo " -> output file : $objfile"
178 CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -Wl,-brtl -Wl,-bnortllib -lm -o $objfile"
183 #echo $makexp $expfile "$objfile" $objs
184 $makexp $expfile "$objfile" $objs
/external/clang/utils/check_cfc/
Dobj_diff.py19 def disassemble(objfile): argument
21 p = subprocess.Popen([disassembler, '-d', objfile],
26 print("Disassemble failed: {}".format(objfile))
30 def dump_debug(objfile): argument
32 …p = subprocess.Popen([disassembler, '-WliaprmfsoRt', objfile], stdout=subprocess.PIPE, stderr=subp…
35 print("Dump debug failed: {}".format(objfile))
/external/llvm-project/clang/utils/check_cfc/
Dobj_diff.py19 def disassemble(objfile): argument
21 p = subprocess.Popen([disassembler, '-d', objfile],
26 print("Disassemble failed: {}".format(objfile))
30 def dump_debug(objfile): argument
32 …p = subprocess.Popen([disassembler, '-WliaprmfsoRt', objfile], stdout=subprocess.PIPE, stderr=subp…
35 print("Dump debug failed: {}".format(objfile))
/external/llvm-project/libc/cmake/modules/
DLLVMLibCLibraryRules.cmake46 get_target_property(objfile ${entrypoint_target} "OBJECT_FILE")
47 if(objfile)
48 set(${result} ${objfile} PARENT_SCOPE)
60 get_entrypoint_object_file(${aliasee} objfile)
61 set(${result} ${objfile} PARENT_SCOPE)
99 get_entrypoint_object_file(${dep} objfile)
100 list(APPEND obj_list ${objfile})
/external/llvm-project/libc/loader/linux/
DCMakeLists.txt40 set(objfile ${LIBC_BUILD_DIR}/lib/${name}.o) variable
42 OUTPUT ${objfile}
43 COMMAND cp $<TARGET_OBJECTS:${fq_target_name}.__objects__> ${objfile}
48 DEPENDS ${objfile}
/external/llvm-project/lldb/source/API/
DSBSection.cpp163 ObjectFile *objfile = module_sp->GetObjectFile(); in GetFileOffset() local
164 if (objfile) in GetFileOffset()
165 return objfile->GetFileOffset() + section_sp->GetFileOffset(); in GetFileOffset()
197 ObjectFile *objfile = module_sp->GetObjectFile(); in GetSectionData() local
198 if (objfile) { in GetSectionData()
200 objfile->GetFileOffset() + section_sp->GetFileOffset(); in GetSectionData()
211 objfile->GetFileSpec().GetPath(), file_size, file_offset); in GetSectionData()
214 new DataExtractor(data_buffer_sp, objfile->GetByteOrder(), in GetSectionData()
215 objfile->GetAddressByteSize())); in GetSectionData()
/external/llvm-project/llvm/test/DebugInfo/PDB/Inputs/
Ddebug-subsections.yaml4 ObjFile: 'Foo.obj'
13 ObjFile: 'Bar.obj'
26 ObjFile: 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
68 ObjFile: 'ObjFileSubsections'
/external/llvm-project/lld/COFF/
DDebugTypes.h36 class ObjFile; variable
45 TpiSource(TpiKind k, ObjFile *f);
147 ObjFile *file;
190 TpiSource *makeTpiSource(ObjFile *file);
192 TpiSource *makeUseTypeServerSource(ObjFile *file,
194 TpiSource *makePrecompSource(ObjFile *file);
195 TpiSource *makeUsePrecompSource(ObjFile *file,
DInputFiles.cpp72 std::vector<ObjFile *> ObjFile::instances;
149 file = make<ObjFile>(mb, std::move(symbols)); in fetch()
183 void ObjFile::parse() { in parse()
201 const coff_section *ObjFile::getSection(uint32_t i) { in getSection()
216 void ObjFile::initializeChunks() { in initializeChunks()
228 SectionChunk *ObjFile::readSection(uint32_t sectionNumber, in readSection()
303 void ObjFile::includeResourceChunks() { in includeResourceChunks()
307 void ObjFile::readAssociativeDefinition( in readAssociativeDefinition()
312 void ObjFile::readAssociativeDefinition(COFFSymbolRef sym, in readAssociativeDefinition()
352 void ObjFile::recordPrevailingSymbolForMingw( in recordPrevailingSymbolForMingw()
[all …]
DSymbolTable.cpp48 if (auto *f = dyn_cast<ObjFile>(file)) { in addFile()
49 ObjFile::instances.push_back(f); in addFile()
142 getSymbolLocations(ObjFile *file, uint32_t symIndex, size_t maxStrings) { in getSymbolLocations()
193 std::vector<std::string> getSymbolLocations(ObjFile *file, uint32_t symIndex) { in getSymbolLocations()
199 if (auto *o = dyn_cast<ObjFile>(file)) in getSymbolLocations()
334 const std::vector<ObjFile *> objFiles, in reportProblemSymbols()
377 for (ObjFile *file : objFiles) in reportProblemSymbols()
411 /* localImports */ nullptr, ObjFile::instances, in reportUnresolvable()
475 ObjFile::instances, /* bitcode files no longer needed */ nullptr); in resolveRemainingUndefines()
552 static std::string getSourceLocationObj(ObjFile *file, SectionChunk *sc, in getSourceLocationObj()
[all …]
/external/llvm-project/lld/wasm/
DInputFiles.cpp83 return make<ObjFile>(mb, archiveName); in createObjectFile()
92 void ObjFile::dumpInfo() const { in dumpInfo()
103 uint32_t ObjFile::calcNewIndex(const WasmRelocation &reloc) const { in calcNewIndex()
116 uint64_t ObjFile::calcNewAddend(const WasmRelocation &reloc) const { in calcNewAddend()
139 uint64_t ObjFile::calcExpectedValue(const WasmRelocation &reloc) const { in calcExpectedValue()
200 uint64_t ObjFile::calcNewValue(const WasmRelocation &reloc, uint64_t tombstone) const { in calcNewValue()
307 void ObjFile::parse(bool ignoreComdats) { in parse()
429 bool ObjFile::isExcludedByComdat(InputChunk *chunk) const { in isExcludedByComdat()
436 FunctionSymbol *ObjFile::getFunctionSymbol(uint32_t index) const { in getFunctionSymbol()
440 GlobalSymbol *ObjFile::getGlobalSymbol(uint32_t index) const { in getGlobalSymbol()
[all …]
DMarkLive.cpp45 void enqueueInitFunctions(const ObjFile *sym);
70 enqueueInitFunctions(cast<ObjFile>(file)); in enqueue()
79 void MarkLive::enqueueInitFunctions(const ObjFile *obj) { in enqueueInitFunctions()
108 for (const ObjFile *obj : symtab->objectFiles) in run()
162 for (const ObjFile *obj : symtab->objectFiles) { in markLive()
197 for (const ObjFile *file : symtab->objectFiles) { in isCallCtorsLive()
DInputChunks.h32 class ObjFile; variable
59 ObjFile *file;
73 InputChunk(ObjFile *f, Kind k) in InputChunk()
97 InputSegment(const WasmSegment &seg, ObjFile *f) in InputSegment()
125 InputFunction(const WasmSignature &s, const WasmFunction *func, ObjFile *f) in InputFunction()
217 InputSection(const WasmSection &s, ObjFile *f) in InputSection()
/external/pdfium/third_party/yasm/
Drun_yasm.py28 parser.add_argument("-o", dest="objfile")
31 objfile = options.objfile variable
32 depfile = objfile + '.d'
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/
DPlatformMacOSX.cpp111 ObjectFile *objfile = exe_module_sp->GetObjectFile(); in GetSDKDirectory() local
112 if (!objfile) in GetSDKDirectory()
115 llvm::VersionTuple version = objfile->GetSDKVersion(); in GetSDKDirectory()
188 ObjectFile *objfile = module_sp->GetObjectFile(); in GetSharedModule() local
189 if (objfile == nullptr) { in GetSharedModule()
/external/llvm-project/lld/test/COFF/
Dpdb-relative-source-lines.test41 CHECK-NEXT: ObjFile: 'c:\src\pdb_lines_1_relative.obj'
53 CHECK-NEXT: ObjFile: 'c:\src\pdb_lines_2_relative.obj'
75 POSIX-NEXT: ObjFile: '/usr/src/pdb_lines_1_relative.obj'
87 POSIX-NEXT: ObjFile: '/usr/src/pdb_lines_2_relative.obj'
/external/llvm/lib/Object/
DModuleSummaryIndexObjectFile.cpp59 Expected<std::unique_ptr<ObjectFile>> ObjFile = in findBitcodeInMemBuffer() local
61 if (!ObjFile) in findBitcodeInMemBuffer()
62 return errorToErrorCode(ObjFile.takeError()); in findBitcodeInMemBuffer()
63 return findBitcodeInObject(*ObjFile->get()); in findBitcodeInMemBuffer()
/external/google-breakpad/src/common/mac/
Dmacho_reader.cc106 struct fat_arch objfile; in Read() local
109 cursor >> objfile.cputype in Read()
110 >> objfile.cpusubtype in Read()
111 >> objfile.offset in Read()
112 >> objfile.size in Read()
113 >> objfile.align; in Read()
115 SuperFatArch super_fat_arch(objfile); in Read()
124 if (objfile.offset > fat_size || in Read()
125 objfile.size > fat_size - objfile.offset) { in Read()
/external/llvm-project/lld/ELF/
DInputSection.h31 template <class ELFT> class ObjFile; variable
107 InputSectionBase(ObjFile<ELFT> &file, const typename ELFT::Shdr &header,
123 // ObjFile<ELFT>, but in order to avoid ELFT, we use InputFile as
127 template <class ELFT> ObjFile<ELFT> *getFile() const { in getFile()
128 return cast_or_null<ObjFile<ELFT>>(file); in getFile()
273 MergeInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
332 EhInputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
354 InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header,
DInputFiles.cpp212 cast<ObjFile<ELFT>>(file)->parse(); in doParseFile()
245 static std::string getSrcMsgAux(ObjFile<ELFT> &file, const Symbol &sym, in getSrcMsgAux()
269 return getSrcMsgAux(cast<ObjFile<ELF32LE>>(*this), sym, sec, offset); in getSrcMsg()
271 return getSrcMsgAux(cast<ObjFile<ELF32BE>>(*this), sym, sec, offset); in getSrcMsg()
273 return getSrcMsgAux(cast<ObjFile<ELF64LE>>(*this), sym, sec, offset); in getSrcMsg()
275 return getSrcMsgAux(cast<ObjFile<ELF64BE>>(*this), sym, sec, offset); in getSrcMsg()
289 template <class ELFT> DWARFCache *ObjFile<ELFT>::getDwarf() { in getDwarf()
306 ObjFile<ELFT>::getVariableLoc(StringRef name) { in getVariableLoc()
313 Optional<DILineInfo> ObjFile<ELFT>::getDILineInfo(InputSectionBase *s, in getDILineInfo()
391 uint32_t ObjFile<ELFT>::getSectionIndex(const Elf_Sym &sym) const { in getSectionIndex()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc179 struct ObjFile {
180 ObjFile()
245 // An AddrMap is a vector of ObjFile, using SigSafeArena() for allocation.
252 ObjFile *At(int i) { return &obj_[i]; }
253 ObjFile *Add();
259 ObjFile *obj_; // array of allocated_ elements
266 At(i)->~ObjFile();
271 ObjFile *AddrMap::Add() {
274 ObjFile *new_obj_ =
275 static_cast<ObjFile *>(base_internal::LowLevelAlloc::AllocWithArena(
[all …]
/external/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc169 struct ObjFile {
170 ObjFile()
230 // An AddrMap is a vector of ObjFile, using SigSafeArena() for allocation.
237 ObjFile *At(int i) { return &obj_[i]; }
238 ObjFile *Add();
244 ObjFile *obj_; // array of allocated_ elements
251 At(i)->~ObjFile();
256 ObjFile *AddrMap::Add() {
259 ObjFile *new_obj_ =
260 static_cast<ObjFile *>(base_internal::LowLevelAlloc::AllocWithArena(
[all …]

123456