Home | History | Annotate | Download | only in Object

Lines Matching refs:SI

32   section_iterator SI = unwrap(ObjectFile)->begin_sections();
33 return wrap(new section_iterator(SI));
36 void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI) {
37 delete unwrap(SI);
41 LLVMSectionIteratorRef SI) {
42 return (*unwrap(SI) == unwrap(ObjectFile)->end_sections()) ? 1 : 0;
45 void LLVMMoveToNextSection(LLVMSectionIteratorRef SI) {
47 unwrap(SI)->increment(ec);
59 symbol_iterator SI = unwrap(ObjectFile)->begin_symbols();
60 return wrap(new symbol_iterator(SI));
63 void LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI) {
64 delete unwrap(SI);
68 LLVMSymbolIteratorRef SI) {
69 return (*unwrap(SI) == unwrap(ObjectFile)->end_symbols()) ? 1 : 0;
72 void LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI) {
74 unwrap(SI)->increment(ec);
79 const char *LLVMGetSectionName(LLVMSectionIteratorRef SI) {
81 if (error_code ec = (*unwrap(SI))->getName(ret))
86 uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI) {
88 if (error_code ec = (*unwrap(SI))->getSize(ret))
93 const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI) {
95 if (error_code ec = (*unwrap(SI))->getContents(ret))
100 uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI) {
102 if (error_code ec = (*unwrap(SI))->getAddress(ret))
107 LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
110 if (error_code ec = (*unwrap(SI))->containsSymbol(**unwrap(Sym), ret))
117 relocation_iterator SI = (*unwrap(Section))->begin_relocations();
118 return wrap(new relocation_iterator(SI));
121 void LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef SI) {
122 delete unwrap(SI);
126 LLVMRelocationIteratorRef SI) {
127 return (*unwrap(SI) == (*unwrap(Section))->end_relocations()) ? 1 : 0;
130 void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef SI) {
132 unwrap(SI)->increment(ec);
139 const char *LLVMGetSymbolName(LLVMSymbolIteratorRef SI) {
141 if (error_code ec = (*unwrap(SI))->getName(ret))
146 uint64_t LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI) {
148 if (error_code ec = (*unwrap(SI))->getAddress(ret))
153 uint64_t LLVMGetSymbolFileOffset(LLVMSymbolIteratorRef SI) {
155 if (error_code ec = (*unwrap(SI))->getFileOffset(ret))
160 uint64_t LLVMGetSymbolSize(LLVMSymbolIteratorRef SI) {
162 if (error_code ec = (*unwrap(SI))->getSize(ret))