Skip to content
  1. Sep 19, 2017
  2. Sep 18, 2017
  3. Sep 16, 2017
    • Rui Ueyama's avatar
      Revert r303378: Set IMAGE_DLL_CHARACTERISTICS_NO_BIND. · eef6b2a5
      Rui Ueyama authored
      r303378 was submitted because r303374 (Merge IAT and ILT) made lld's
      output incompatible with the Binding feature. Now that r303374 was
      reverted, we do not need to keep this change.
      
      Pointed out by pcc.
      
      llvm-svn: 313414
      eef6b2a5
    • Rui Ueyama's avatar
      Remove redundant parentheses. · 02a6fc5e
      Rui Ueyama authored
      llvm-svn: 313408
      02a6fc5e
    • Zachary Turner's avatar
      Resubmit "[lit] Force site configs to run before source-tree configs" · ce92db13
      Zachary Turner authored
      This is a resubmission of r313270.  It broke standalone builds of
      compiler-rt because we were not correctly generating the llvm-lit
      script in the standalone build directory.
      
      The fixes incorporated here attempt to find llvm/utils/llvm-lit
      from the source tree returned by llvm-config.  If present, it
      will generate llvm-lit into the output directory.  Regardless,
      the user can specify -DLLVM_EXTERNAL_LIT to point to a specific
      lit.py on their file system.  This supports the use case of
      someone installing lit via a package manager.  If it cannot find
      a source tree, and -DLLVM_EXTERNAL_LIT is either unspecified or
      invalid, then we print a warning that tests will not be able
      to run.
      
      Differential Revision: https://reviews.llvm.org/D37756
      
      llvm-svn: 313407
      ce92db13
  4. Sep 15, 2017
  5. Sep 14, 2017
    • Rui Ueyama's avatar
      Add tests for -out-implib. · 0e69bd3c
      Rui Ueyama authored
      llvm-svn: 313289
      0e69bd3c
    • Rui Ueyama's avatar
      Accept not only --foo but also -foo. · 1f4cdcfe
      Rui Ueyama authored
      GNU ld manual says that multi-letter long option can be prefixed with
      either -- or -. Therefore, we should accept not only --subsystem but
      also -subsystem, for example.
      
      There is one exception. If an option starts with "o", it should only be
      prefixed with -- to avoid ambiguity with -o<filename> option.
      
      Differential Revision: https://reviews.llvm.org/D37825
      
      llvm-svn: 313286
      1f4cdcfe
    • Rui Ueyama's avatar
      Filenames are case-insensitive on Windows, so .DEF is the same as .def. · b3592630
      Rui Ueyama authored
      Differential Revision: https://reviews.llvm.org/D37823
      
      llvm-svn: 313285
      b3592630
    • Zachary Turner's avatar
      [lit] Force site configs to be run before source-tree configs · a0e55b64
      Zachary Turner authored
      This patch simplifies LLVM's lit infrastructure by enforcing an ordering
      that a site config is always run before a source-tree config.
      
      A significant amount of the complexity from lit config files arises from
      the fact that inside of a source-tree config file, we don't yet know if
      the site config has been run.  However it is *always* required to run
      a site config first, because it passes various variables down through
      CMake that the main config depends on.  As a result, every config
      file has to do a bunch of magic to try to reverse-engineer the location
      of the site config file if they detect (heuristically) that the site
      config file has not yet been run.
      
      This patch solves the problem by emitting a mapping from source tree
      config file to binary tree site config file in llvm-lit.py. Then, during
      discovery when we find a config file, we check to see if we have a
      target mapping for it, and if so we use that instead.
      
      This mechanism is generic enough that it does not affect external users
      of lit. They will just not have a config mapping defined, and everything
      will work as normal.
      
      On the other hand, for us it allows us to make many simplifications:
      
      * We are guaranteed that a site config will be executed first
      * Inside of a main config, we no longer have to assume that attributes
        might not be present and use getattr everywhere.
      * We no longer have to pass parameters such as --param llvm_site_config=<path>
        on the command line.
      * It is future-proof, meaning you don't have to edit llvm-lit.in to add
        support for new projects.
      * All of the duplicated logic of trying various fallback mechanisms of
        finding a site config from the main config are now gone.
      
      One potentially noteworthy thing that was required to implement this
      change is that whereas the ninja check targets previously used the first
      method to spawn lit, they now use the second. In particular, you can no
      longer run lit.py against the source tree while specifying the various
      `foo_site_config=<path>` parameters.  Instead, you need to run
      llvm-lit.py.
      
      Differential Revision: https://reviews.llvm.org/D37756
      
      llvm-svn: 313270
      a0e55b64
  6. Sep 13, 2017
  7. Sep 12, 2017
Loading