Skip to content
  1. Jun 20, 2013
  2. Jun 19, 2013
  3. Jun 18, 2013
    • Sean Silva's avatar
      [yaml2obj][ELF] Add dummy .strtab section. · c3131926
      Sean Silva authored
      This will be needed later for holding symbol names, due to the libObject
      issue mentioned in the commit message of r184161.
      
      llvm-svn: 184242
      c3131926
    • Sean Silva's avatar
      [yaml2obj][ELF] Factor out string table section creation. · 85d3eeb6
      Sean Silva authored
      llvm-svn: 184162
      85d3eeb6
    • Sean Silva's avatar
      [yaml2obj][ELF] Refer specifically to the section header string table. · fde4ab0f
      Sean Silva authored
      A bug in libObject will cause it to assert() if a symbol table's string
      table and the section header string table are the same section, so we
      need to ensure that we emit two different string tables (among other
      things). The problematic code is the hardcoded usage of ".strtab"
      (`dot_strtab_sec`) for looking up symbol names in
      ELFObjectFile<ELFT>::getSymbolName.
      
      I discussed this with Michael, and he has some local improvements to the
      ELF code in libObject that, among other things, should fix our handling
      of this scenario.
      
      llvm-svn: 184161
      fde4ab0f
    • Sean Silva's avatar
      [yaml2obj][ELF] Ensure more fields are zero'd. · f62a6005
      Sean Silva authored
      I was spotting garbage in the output. I'd like to just zero the entire
      ELFYAML::Section to be sure, but it contains non-POD types. (I'm also
      trying to avoid bloating the ELFYAML::Foo classes with a bunch of
      constructor code).
      
      No test, since this is by its very nature unpredictable. I'm pretty sure
      that one of the sanitizers would catch it immediately though.
      
      llvm-svn: 184160
      f62a6005
  4. Jun 17, 2013
  5. Jun 15, 2013
  6. Jun 14, 2013
  7. Jun 11, 2013
  8. Jun 06, 2013
  9. Jun 05, 2013
  10. May 31, 2013
  11. May 18, 2013
  12. May 06, 2013
  13. Apr 25, 2013
  14. Apr 23, 2013
    • Rafael Espindola's avatar
      Fix typo. · 7f08d1b9
      Rafael Espindola authored
      llvm-svn: 180137
      7f08d1b9
    • Rafael Espindola's avatar
      Simplify yaml2obj a bit. · ad3b9753
      Rafael Espindola authored
      The COFFParser now contains only a COFFYAML::Object and the string table
      (which is recomputed, not serialized).
      
      The structs in COFFParser now all begin with a Header field with what is
      actually on the COFF object. The other fields are things that are semantically
      part of the struct (relocations in a section for exmaple), but are not actually
      represented that way in the object file.
      
      llvm-svn: 180134
      ad3b9753
    • Rafael Espindola's avatar
      Write relocations in yaml2obj. · b716e622
      Rafael Espindola authored
      llvm-svn: 180115
      b716e622
  15. Apr 20, 2013
    • Rafael Espindola's avatar
      Remove COFFYAML::Header. · 46850734
      Rafael Espindola authored
      Instead, use MappingNormalization to directly parse COFF::header. Also change
      the naming convention of the helper classes to be a bit shorter.
      
      llvm-svn: 179917
      46850734
  16. Apr 19, 2013
  17. Apr 05, 2013
Loading