Skip to content
  1. Nov 29, 2018
    • Juergen Ributzka's avatar
      [TextAPI] TBD Reader/Writer · 7353a90b
      Juergen Ributzka authored
      Add basic infrastructure for reading and writting TBD files (version 1 - 3).
      
      The TextAPI library is not used by anything yet (besides the unit tests). Tool
      support will be added in a separate commit.
      
      The TBD format is currently documented in the implementation file (TextStub.cpp).
      
      https://reviews.llvm.org/D53945
      
      Update: This contains changes to fix issues discovered by the bots:
       - add parentheses to silence warnings.
       - rename variables
       - use PlatformType from BinaryFormat
      llvm-svn: 347823
      7353a90b
    • Jonas Devlieghere's avatar
      [driver] Fix --core/-c and add test · cef2af0f
      Jonas Devlieghere authored
      Because the optarg variable was shadowed we didn't notice we weren't
      extracting the value from the option. This patch fixes that and renames
      the variable to prevent this from happening in the future.
      
      I also added two tests to check the error output for --core and --file
      when the given value doesn't exist.
      
      llvm-svn: 347821
      cef2af0f
    • Fangrui Song's avatar
      [ELF] --gdb-index: use lower_bound to compute relative CU index in the object file · f2143761
      Fangrui Song authored
      Summary:
      This reinstates what I originally intended to do in D54361.
      It removes the assumption that .debug_gnu_pubnames has increasing CuOffset.
      
      Now we do better than gold here: when .debug_gnu_pubnames contains
      multiple sets, gold would think every set has the same CU index as the
      first set (incorrect).
      
      Reviewed By: ruiu
      
      Reviewers: ruiu, dblaikie, espindola
      
      Subscribers: emaste, arichardson, arphaman, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D54483
      
      llvm-svn: 347820
      f2143761
  2. Nov 28, 2018
Loading