LLVM: include/llvm/TextAPI/DylibReader.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef LLVM_TEXTAPI_DYLIBREADER_H
14#define LLVM_TEXTAPI_DYLIBREADER_H
15
22
24
35
36
37
38
39
40
43
44
45
46
48
50
51
52
53
56
57}
58
59#endif
This file defines the StringMap class.
Implements the TAPI Record Collection Type.
Tagged union holding either a T or a Error.
static ArchitectureSet All()
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
StringRef - Represent a constant reference to a string, i.e.
Defines the MachO Dynamic Library Reader.
Definition DylibReader.h:23
llvm::StringMap< RecordLoc > SymbolToSourceLocMap
Definition DylibReader.h:49
LLVM_ABI Expected< Records > readFile(MemoryBufferRef Buffer, const ParseOption &Opt)
Parse Mach-O dynamic libraries to extract TAPI attributes.
LLVM_ABI SymbolToSourceLocMap accumulateSourceLocFromDSYM(const StringRef DSYM, const Target &T)
Get the source location for each symbol from dylib.
LLVM_ABI Expected< std::unique_ptr< InterfaceFile > > get(MemoryBufferRef Buffer)
Get TAPI file representation of binary dylib.
Definition DylibReader.h:25
bool Undefineds
Capture undefined symbols too.
Definition DylibReader.h:33
bool MachOHeader
Capture Mach-O header from binary, primarily load commands.
Definition DylibReader.h:29
bool SymbolTable
Capture defined symbols out of export trie and n-list.
Definition DylibReader.h:31
ArchitectureSet Archs
Determines arch slice to parse.
Definition DylibReader.h:27