Skip to content
  1. Feb 08, 2017
  2. Feb 07, 2017
  3. Feb 06, 2017
  4. Feb 05, 2017
  5. Feb 04, 2017
  6. Feb 03, 2017
    • Rafael Espindola's avatar
      Simplify. NFC. · 2b074553
      Rafael Espindola authored
      Now that each OutputSectionCommand maps to just one OutputSection, we
      can remove a few std::vectors.
      
      llvm-svn: 294060
      2b074553
    • Rafael Espindola's avatar
      Simplify. NFC. · cfe53dff
      Rafael Espindola authored
      llvm-svn: 294057
      cfe53dff
    • Rafael Espindola's avatar
      Don't worry about dropping SHF_MERGE. · c06f5412
      Rafael Espindola authored
      Now that it doesn't impact which sections are merged, this is not a
      problem.
      
      llvm-svn: 294054
      c06f5412
    • Rafael Espindola's avatar
      Stop propagating Entsize. · 25324313
      Rafael Espindola authored
      Now that we combine multiple synthetic merge section into one output
      section there is no point in trying to propagate a value.
      
      llvm-svn: 294048
      25324313
    • Rafael Espindola's avatar
      Handle numbers followed by ":" in linker scripts. · 4524268c
      Rafael Espindola authored
      This is a fix for Bugzilla 31813.
      
      The problem is that the tokenizer does not create a separate token for
      ":" unless there's white space before it. Changed it to always create
      a token for ":" and reworked some logic that relied on ":" being
      attached to some tokens like "global:" and "local:".
      
      llvm-svn: 294006
      4524268c
    • Rafael Espindola's avatar
      Replace MergeOutputSection with a synthetic section. · 9e9754b5
      Rafael Espindola authored
      With a synthetic merge section we can have, for example, a single
      .rodata section with stings, fixed sized constants and non merge
      constants.
      
      I can be simplified further by not setting Entsize, but that is
      probably better done is a followup patch.
      
      This should allow some cleanup in the linker script code now that
      every output section command maps to just one output section.
      
      llvm-svn: 294005
      9e9754b5
    • Ismail Donmez's avatar
      Fix shared build after r293965 (Core) and r293967 (COFF) · 82c489f2
      Ismail Donmez authored
      llvm-svn: 293996
      82c489f2
    • Mehdi Amini's avatar
      Revert "[ThinLTO] Add an auto-hide feature" · 1380edf4
      Mehdi Amini authored
      This reverts commit r293970.
      
      After more discussion, this belongs to the linker side and
      there is no added value to do it at this level.
      
      llvm-svn: 293993
      1380edf4
    • Bob Haarman's avatar
      added missing dependency on intrinsics_gen to lib/Core · 37c22a3e
      Bob Haarman authored
      llvm-svn: 293986
      37c22a3e
    • Mehdi Amini's avatar
      [ThinLTO] Add an auto-hide feature · b0a8ff71
      Mehdi Amini authored
      When a symbol is not exported outside of the
      DSO, it is can be hidden. Usually we try to internalize
      as much as possible, but it is not always possible, for
      instance a symbol can be referenced outside of the LTO
      unit, or there can be cross-module reference in ThinLTO.
      
      This is a recommit of r293912 after fixing build failures,
      and a recommit of r293918 after fixing LLD tests.
      
      Differential Revision: https://reviews.llvm.org/D28978
      
      llvm-svn: 293970
      b0a8ff71
    • Bob Haarman's avatar
      refactor COFF linker to use new LTO API · cde5e5b6
      Bob Haarman authored
      Summary: The COFF linker previously implemented link-time optimization using an API which has now been marked as legacy. This change refactors the COFF linker to use the new LTO API, which is also used by the ELF linker.
      
      Reviewers: pcc, ruiu
      
      Reviewed By: pcc
      
      Subscribers: mgorny, mehdi_amini
      
      Differential Revision: https://reviews.llvm.org/D29059
      
      llvm-svn: 293967
      cde5e5b6
    • Bob Haarman's avatar
      added missing files for r293965 · fbc229dc
      Bob Haarman authored
      llvm-svn: 293966
      fbc229dc
    • Bob Haarman's avatar
      add the ability to call InitTargetOptionsFromCodeGenFlags from multiple objects · 35989d6b
      Bob Haarman authored
      Summary: llvm/CodeGen/CommandFlags.h a utility function InitTargetOptionsFromCodeGenFlags which is used to set target options from flags based on the command line. The command line flags are stored in globals defined in the same file, and including the file in multiple places causes the globals to be defined multiple times, leading to linker errors. This change adds a single place in lld where these globals are defined and exports only the utility function. This makes it possible to call InitTargetOptionsFromCodeGenFlags from multiple places in lld, which a follow-up change will do.
      
      Reviewers: davide, ruiu
      
      Reviewed By: davide, ruiu
      
      Subscribers: mgorny
      
      Differential Revision: https://reviews.llvm.org/D29058
      
      llvm-svn: 293965
      35989d6b
    • Rui Ueyama's avatar
      Update comments. · 6697ec29
      Rui Ueyama authored
      llvm-svn: 293963
      6697ec29
Loading