Skip to content
  1. Jul 06, 2017
  2. Jul 05, 2017
  3. Jul 04, 2017
  4. Jul 03, 2017
  5. Jul 01, 2017
  6. Jun 30, 2017
    • Zachary Turner's avatar
      [llvm-pdbutil] Output the symbol offset when dumping. · af8c75a8
      Zachary Turner authored
      Type records have a unique type index, but symbol records do
      not.  Instead, symbol records refer to other symbol records
      by referencing their offset in the symbol stream.  In a sense
      this is the analogue of the TypeIndex, but we are not printing
      it in the dumper.  Printing it not only gives us more useful
      information when manually investigating the contents of a PDB,
      but also allows us to write better tests by enabling us to
      verify that fields that reference other symbol records do
      so correctly.
      
      Differential Revision: https://reviews.llvm.org/D34906
      
      llvm-svn: 306890
      af8c75a8
    • Richard Smith's avatar
      Fix ODR violations due to abuse of LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR · 4451cb63
      Richard Smith authored
      This is a short-term fix for PR33650 aimed to get the modules build bots green again.
      
      Remove all the places where we use the LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR
      macros to try to locally specialize a global template for a global type. That's
      not how C++ works.
      
      Instead, we now centrally define how to format vectors of fundamental types and
      of string (std::string and StringRef). We use flow formatting for the former
      cases, since that's the obvious right thing to do; in the latter case, it's
      less clear what the right choice is, but flow formatting is really bad for some
      cases (due to very long strings), so we pick block formatting. (Many of the
      cases that were using flow formatting for strings are improved by this change.)
      
      Other than the flow -> block formatting change for some vectors of strings,
      this should result in no functionality change.
      
      Differential Revision: https://reviews.llvm.org/D34907
      
      Corresponding LLVM change is r306878.
      
      llvm-svn: 306880
      4451cb63
    • Eric Beckmann's avatar
      Tighten up tests for .rsrc section emission. · 5de73610
      Eric Beckmann authored
      Summary:
      There have been bugs with the WindowsResource library, such as incorrect
      symbols for addresses.  Directly checking the .rsrc in the final PE will
      help ensure this doesn't happen again.
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D34900
      
      llvm-svn: 306854
      5de73610
    • George Rimar's avatar
      [ELF] - Resolve references properly when using .symver directive · aad84e2e
      George Rimar authored
      This is PR28414. 
      Previously LLD was unable to link following:
      (failed with undefined symbol bar)
      
      ```
      Version script:
      SOME_VERSION { global: *; };
      
      .global _start
      .global bar
      .symver _start, bar@@SOME_VERSION
      _start:
        jmp bar
      ```
      
      Manual has next description:
      //
      .symver name, name2@@nodename
      In this case, the symbol name must exist and be defined within the file being assembled. It is similar to name2@nodename. 
      **The difference is name2@@nodename will also be used to resolve references to name2 by the linker**
      https://sourceware.org/binutils/docs/as/Symver.html
      //
      
      Patch implements that. If we have name@@ver symbol and name is undefined, 
      name@@ver is used to resolve references to name.
      
      Differential revision: https://reviews.llvm.org/D33680
      
      llvm-svn: 306813
      aad84e2e
    • Martin Storsjö's avatar
      Update a test case after LLVM r306794 · e24f434e
      Martin Storsjö authored
      llvm-svn: 306796
      e24f434e
    • Sam Clegg's avatar
      Remove unused declarations · c0909622
      Sam Clegg authored
      Differential Revision: https://reviews.llvm.org/D34852
      
      llvm-svn: 306772
      c0909622
Loading