github.com/razvanm/vanadium-go-1.3@v0.0.0-20160721203343-4a65068e5915/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   * Emit debug_abbrevs, debug_info and debug_line sections to current
     7   * offset in cout.
     8   */
     9  void dwarfemitdebugsections(void);
    10  
    11  /*
    12   * Add the dwarf section names to the ELF
    13   * s[ection]h[eader]str[ing]tab.  Prerequisite for
    14   * dwarfaddelfheaders().
    15   */
    16  void dwarfaddshstrings(LSym *shstrtab);
    17  
    18  /*
    19   * Add section headers pointing to the sections emitted in
    20   * dwarfemitdebugsections.
    21   */
    22  void dwarfaddelfheaders(void);
    23  void dwarfaddmachoheaders(void);
    24  void dwarfaddpeheaders(void);