OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [dwarf_reader.h] - Diff between revs 27 and 166

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 27 Rev 166
Line 118... Line 118...
  // Initializes a .debug_line reader for a given object file.
  // Initializes a .debug_line reader for a given object file.
  // If SHNDX is specified and non-negative, only read the debug
  // If SHNDX is specified and non-negative, only read the debug
  // information that pertains to the specified section.
  // information that pertains to the specified section.
  Sized_dwarf_line_info(Object* object, unsigned int read_shndx = -1U);
  Sized_dwarf_line_info(Object* object, unsigned int read_shndx = -1U);
 
 
 
  virtual
 
  ~Sized_dwarf_line_info()
 
  {
 
    if (this->buffer_start_ != NULL)
 
      delete[] this->buffer_start_;
 
  }
 
 
 private:
 private:
  std::string
  std::string
  do_addr2line(unsigned int shndx, off_t offset,
  do_addr2line(unsigned int shndx, off_t offset,
               std::vector<std::string>* other_lines);
               std::vector<std::string>* other_lines);
 
 
Line 197... Line 204...
 
 
  // buffer is the buffer for our line info, starting at exactly where
  // buffer is the buffer for our line info, starting at exactly where
  // the line info to read is.
  // the line info to read is.
  const unsigned char* buffer_;
  const unsigned char* buffer_;
  const unsigned char* buffer_end_;
  const unsigned char* buffer_end_;
 
  // If the buffer was allocated temporarily, and therefore must be
 
  // deallocated in the dtor, this contains a pointer to the start
 
  // of the buffer.
 
  const unsigned char* buffer_start_;
 
 
  // This has relocations that point into buffer.
  // This has relocations that point into buffer.
  Track_relocs<size, big_endian> track_relocs_;
  Track_relocs<size, big_endian> track_relocs_;
  // The type of the reloc section in track_relocs_--SHT_REL or SHT_RELA.
  // The type of the reloc section in track_relocs_--SHT_REL or SHT_RELA.
  unsigned int track_relocs_type_;
  unsigned int track_relocs_type_;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.