github.com/rohankumardubey/syslog-redirector-golang@v0.0.0-20140320174030-4859f03d829a/src/cmd/ld/dwarf.h (about)

     1  // Copyright 2010 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  /*
     6   * Register 'f' symbol file fragments.  Doing this while parsing the
     7   * .6 input saves a pass over the symbol table later.
     8   */
     9  void dwarfaddfrag(int n, char* frag);
    10  
    11  /*
    12   * Emit debug_abbrevs, debug_info and debug_line sections to current
    13   * offset in cout.
    14   */
    15  void dwarfemitdebugsections(void);
    16  
    17  /*
    18   * Add the dwarf section names to the ELF
    19   * s[ection]h[eader]str[ing]tab.  Prerequisite for
    20   * dwarfaddelfheaders().
    21   */
    22  void dwarfaddshstrings(Sym *shstrtab);
    23  
    24  /*
    25   * Add section headers pointing to the sections emitted in
    26   * dwarfemitdebugsections.
    27   */
    28  void dwarfaddelfheaders(void);
    29  void dwarfaddmachoheaders(void);
    30  void dwarfaddpeheaders(void);