parameters: (self, cache=False)
docstring: Obtain the sections in this object file.
  
          This is a generator for llvm.object.Section instances.
  
          Sections are exposed as limited-use objects. See the module's
          documentation on iterators for more.
docstring_summary: Obtain the sections in this object file.
docstring_tokens: Obtain the sections in this object file .
function: def get_sections(self, cache=False):
          """Obtain the sections in this object file.
  
          This is a generator for llvm.object.Section instances.
  
          Sections are exposed as limited-use objects. See the module's
          documentation on iterators for more.
          """
          sections = lib.LLVMGetSections(self)
          last = None
          while True:
              if lib.LLVMIsSectionIteratorAtEnd(self, sections):
                  break
  
              last = Section(sections)
              if cache:
                  last.cache()
  
              yield last
  
              lib.LLVMMoveToNextSection(sections)
              last.expire()
  
          if last is not None:
              last.expire()
  
          lib.LLVMDisposeSectionIterator(sections)
function_tokens: def get_sections ( self , cache = False ) : sections = lib . LLVMGetSections ( self ) last = None while True : if lib . LLVMIsSectionIteratorAtEnd ( self , sections ) : break last = Section ( sections ) if cache : last . cache ( ) yield last lib . LLVMMoveToNextSection ( sections ) last . expire ( ) if last is not None : last . expire ( ) lib . LLVMDisposeSectionIterator ( sections )