Lines Matching refs:library

436 def register_library(library):
437 """Register function prototypes with LLVM library instance."""
440 library.LLVMCreateObjectFile.argtypes = [MemoryBuffer]
441 library.LLVMCreateObjectFile.restype = c_object_p
443 library.LLVMDisposeObjectFile.argtypes = [ObjectFile]
445 library.LLVMGetSections.argtypes = [ObjectFile]
446 library.LLVMGetSections.restype = c_object_p
448 library.LLVMDisposeSectionIterator.argtypes = [c_object_p]
450 library.LLVMIsSectionIteratorAtEnd.argtypes = [ObjectFile, c_object_p]
451 library.LLVMIsSectionIteratorAtEnd.restype = bool
453 library.LLVMMoveToNextSection.argtypes = [c_object_p]
455 library.LLVMMoveToContainingSection.argtypes = [c_object_p, c_object_p]
457 library.LLVMGetSymbols.argtypes = [ObjectFile]
458 library.LLVMGetSymbols.restype = c_object_p
460 library.LLVMDisposeSymbolIterator.argtypes = [c_object_p]
462 library.LLVMIsSymbolIteratorAtEnd.argtypes = [ObjectFile, c_object_p]
463 library.LLVMIsSymbolIteratorAtEnd.restype = bool
465 library.LLVMMoveToNextSymbol.argtypes = [c_object_p]
467 library.LLVMGetSectionName.argtypes = [c_object_p]
468 library.LLVMGetSectionName.restype = c_char_p
470 library.LLVMGetSectionSize.argtypes = [c_object_p]
471 library.LLVMGetSectionSize.restype = c_uint64
473 library.LLVMGetSectionContents.argtypes = [c_object_p]
474 library.LLVMGetSectionContents.restype = c_char_p
476 library.LLVMGetSectionAddress.argtypes = [c_object_p]
477 library.LLVMGetSectionAddress.restype = c_uint64
479 library.LLVMGetSectionContainsSymbol.argtypes = [c_object_p, c_object_p]
480 library.LLVMGetSectionContainsSymbol.restype = bool
482 library.LLVMGetRelocations.argtypes = [c_object_p]
483 library.LLVMGetRelocations.restype = c_object_p
485 library.LLVMDisposeRelocationIterator.argtypes = [c_object_p]
487 library.LLVMIsRelocationIteratorAtEnd.argtypes = [c_object_p, c_object_p]
488 library.LLVMIsRelocationIteratorAtEnd.restype = bool
490 library.LLVMMoveToNextRelocation.argtypes = [c_object_p]
492 library.LLVMGetSymbolName.argtypes = [Symbol]
493 library.LLVMGetSymbolName.restype = c_char_p
495 library.LLVMGetSymbolAddress.argtypes = [Symbol]
496 library.LLVMGetSymbolAddress.restype = c_uint64
498 library.LLVMGetSymbolFileOffset.argtypes = [Symbol]
499 library.LLVMGetSymbolFileOffset.restype = c_uint64
501 library.LLVMGetSymbolSize.argtypes = [Symbol]
502 library.LLVMGetSymbolSize.restype = c_uint64
504 library.LLVMGetRelocationAddress.argtypes = [c_object_p]
505 library.LLVMGetRelocationAddress.restype = c_uint64
507 library.LLVMGetRelocationOffset.argtypes = [c_object_p]
508 library.LLVMGetRelocationOffset.restype = c_uint64
510 library.LLVMGetRelocationSymbol.argtypes = [c_object_p]
511 library.LLVMGetRelocationSymbol.restype = c_object_p
513 library.LLVMGetRelocationType.argtypes = [c_object_p]
514 library.LLVMGetRelocationType.restype = c_uint64
516 library.LLVMGetRelocationTypeName.argtypes = [c_object_p]
517 library.LLVMGetRelocationTypeName.restype = c_char_p
519 library.LLVMGetRelocationValueString.argtypes = [c_object_p]
520 library.LLVMGetRelocationValueString.restype = c_char_p