Skip to content
  • Sean Silva's avatar
    [yaml2obj][ELF] Add the section name -> section index map to State. · c1c290b2
    Sean Silva authored
    One of the key things that the YAML format abstracts over is the use of
    section numbers for referencing sections. Instead, textual section names
    are used, which yaml2obj then translates into appropriate section
    numbers. (Technically ELF doesn't care about section names (only section
    numbers), but since this is a testing tool, readability counts).
    
    This simplifies using section names as symbolic references in various
    parts of the code. An upcoming commit will use this to allow symbols to
    reference sections.
    
    llvm-svn: 184467
    c1c290b2
Loading