Skip to content
  1. May 18, 2017
    • Rafael Espindola's avatar
      Fix flag to start with 1 << 0. NFC. · 246c1c47
      Rafael Espindola authored
      Thanks to Andrew Ng for noticing it.
      
      llvm-svn: 303354
      246c1c47
    • Zachary Turner's avatar
      [COFF] Fix interaction between /DEBUG and /PDB · 8a750897
      Zachary Turner authored
      When /DEBUG is not specified, /PDB should be ignored.  When
      /DEBUG is specified, a PDB should be output regardless of
      whether or not /PDB is specified.  /PDB just overrides the
      default name.
      
      This patch implements this behavior, and adds some tests, while
      also removing a dead option /DEBUGPDB which was unused in any
      code.
      
      Differential Revision: https://reviews.llvm.org/D33302
      
      llvm-svn: 303352
      8a750897
    • Peter Smith's avatar
      [ELF] Support R_ARM_SBREL32 Relocation · d54f368e
      Peter Smith authored
      This change adds support for the R_ARM_SBREL32 relocation. The relocation
      is a base relative relocation that is produced by clang/llvm when -frwpi
      is used. The use case for the -frwpi option is position independent data
      for embedded systems that do not have a GOT. With -frwpi all data is
      accessed via an offset from a base register (usually r9), where r9 is set
      at run time to where the data has been loaded. The base of the data is
      known as the static base.
      
      The ARM ABI defines the static base as:
      B(S) is the addressing origin of the output segment defining the symbol S.
      The origin is not required to be the base address of the segment. For
      simplicity we choose to use the base address of the segment.
      
      The ARM procedure call standard only defines a read write variant using
      R_ARM_SBREL32 relocations. The read-only data is accessed via pc-relative
      offsets from the code, this is implemented in clang as -fropi.
      
      Fixes PR32924
      
      Differential Revision: https://reviews.llvm.org/D33280
      
      llvm-svn: 303337
      d54f368e
  2. May 17, 2017
    • Rui Ueyama's avatar
      Re-submit r303225: Garbage collect dllimported symbols. · cd41bc8d
      Rui Ueyama authored
      This reverts re-submits r303225 which was reverted in r303270 because it
      broke the sanitizer-windows bot.
      
      The reason of the failure is that we were writing dead symbols to the
      symbol table. I fixed the issue.
      
      llvm-svn: 303304
      cd41bc8d
    • Hans Wennborg's avatar
      Revert r303225 "Garbage collect dllimported symbols." · e67c5f6b
      Hans Wennborg authored
      and follow-up r303226 "Fix Windows buildbots."
      
      This broke the sanitizer-windows buildbot.
      
      > Previously, the garbage collector (enabled by default or by explicitly
      > passing /opt:ref) did not kill dllimported symbols. As a result,
      > dllimported symbols could be added to resulting executables' dllimport
      > list even if no one was actually using them.
      >
      > This patch implements dllexported symbol garbage collection. Just like
      > COMDAT sections, dllimported symbols now have Live bits to manage their
      > liveness, and MarkLive marks reachable dllimported symbols.
      >
      > Fixes https://bugs.llvm.org/show_bug.cgi?id=32950
      >
      > Reviewers: pcc
      >
      > Subscribers: llvm-commits
      >
      > Differential Revision: https://reviews.llvm.org/D33264
      
      llvm-svn: 303270
      e67c5f6b
    • George Rimar's avatar
      [ELF] - Detemplate Thunk creation. · ec84ffc5
      George Rimar authored
      Nothing special here, just detemplates code that became possible 
      to detemplate after recent commits in a straghtforward way.
      
      Differential revision: https://reviews.llvm.org/D33234
      
      llvm-svn: 303237
      ec84ffc5
    • Rui Ueyama's avatar
      Fix Windows buildbots. · de83fec0
      Rui Ueyama authored
      llvm-svn: 303226
      de83fec0
    • Rui Ueyama's avatar
      Garbage collect dllimported symbols. · 02df7a6c
      Rui Ueyama authored
      Summary:
      Previously, the garbage collector (enabled by default or by explicitly
      passing /opt:ref) did not kill dllimported symbols. As a result,
      dllimported symbols could be added to resulting executables' dllimport
      list even if no one was actually using them.
      
      This patch implements dllexported symbol garbage collection. Just like
      COMDAT sections, dllimported symbols now have Live bits to manage their
      liveness, and MarkLive marks reachable dllimported symbols.
      
      Fixes https://bugs.llvm.org/show_bug.cgi?id=32950
      
      Reviewers: pcc
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D33264
      
      llvm-svn: 303225
      02df7a6c
  3. May 16, 2017
  4. May 15, 2017
  5. May 14, 2017
  6. May 12, 2017
  7. May 11, 2017
  8. May 10, 2017
Loading