Skip to content
  1. Jun 18, 2013
    • 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
  2. Jun 17, 2013
  3. Jun 15, 2013
  4. Jun 14, 2013
  5. Jun 11, 2013
Loading