Skip to content
Snippets Groups Projects
  1. Oct 07, 2016
    • Michal Gorny's avatar
      [Driver] Make -print-libgcc-file-name print compiler-rt lib when used · cd26b3f3
      Michal Gorny authored
      Make the -print-libgcc-file-name option print an appropriate compiler
      runtime library, that is libgcc.a if gcc runtime is used
      and an appropriate compiler-rt library if that runtime is used.
      
      The main use for this is to allow linking executables built with
      -nodefaultlibs (e.g. to avoid linking to the standard C++ library) to
      the compiler runtime library, e.g. using:
      
        clang++ ... -nodefaultlibs $(clang++ ... -print-libgcc-file-name)
      
      in which case currently a program built like this linked to the gcc
      runtime unconditionally. The patch fixes it to use compiler-rt libraries
      instead when compiler-rt is the active runtime.
      
      Differential Revision: https://reviews.llvm.org/D25338
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283572 91177308-0d34-0410-b5e6-96231b3b80d8
      cd26b3f3
  2. Oct 04, 2016
  3. Sep 30, 2016
  4. Sep 29, 2016
  5. Sep 27, 2016
  6. Sep 26, 2016
  7. Sep 22, 2016
  8. Sep 21, 2016
  9. Sep 20, 2016
  10. Sep 19, 2016
  11. Sep 18, 2016
  12. Sep 17, 2016
  13. Sep 16, 2016
  14. Sep 14, 2016
  15. Sep 13, 2016
    • Adam Nemet's avatar
      Reapply r281276 with passing -emit-llvm in one of the tests · 8a7af2f3
      Adam Nemet authored
      Original commit message:
      
      Add -fdiagnostics-show-hotness
      
      Summary:
      I've recently added the ability for optimization remarks to include the
      hotness of the corresponding code region.  This uses PGO and allows
      filtering of the optimization remarks by relevance.  The idea was first
      discussed here:
      http://thread.gmane.org/gmane.comp.compilers.llvm.devel/98334
      
      The general goal is to produce a YAML file with the remarks.  Then, an
      external tool could dynamically filter these by hotness and perhaps by
      other things.
      
      That said it makes sense to also expose this at the more basic level
      where we just include the hotness info with each optimization remark.
      For example, in D22694, the clang flag was pretty useful to measure the
      overhead of the additional analyses required to include hotness.
      (Without the flag we don't even run the analyses.)
      
      For the record, Hal has already expressed support for the idea of this
      patch on IRC.
      
      Differential Revision: https://reviews.llvm.org/D23284
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281293 91177308-0d34-0410-b5e6-96231b3b80d8
      8a7af2f3
    • Adam Nemet's avatar
      Revert "Add -fdiagnostics-show-hotness" · 8503d694
      Adam Nemet authored
      This reverts commit r281276.
      
      Many bots are failing.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281279 91177308-0d34-0410-b5e6-96231b3b80d8
      8503d694
    • Adam Nemet's avatar
      Add -fdiagnostics-show-hotness · fd2a481c
      Adam Nemet authored
      Summary:
      I've recently added the ability for optimization remarks to include the
      hotness of the corresponding code region.  This uses PGO and allows
      filtering of the optimization remarks by relevance.  The idea was first
      discussed here:
      http://thread.gmane.org/gmane.comp.compilers.llvm.devel/98334
      
      The general goal is to produce a YAML file with the remarks.  Then, an
      external tool could dynamically filter these by hotness and perhaps by
      other things.
      
      That said it makes sense to also expose this at the more basic level
      where we just include the hotness info with each optimization remark.
      For example, in D22694, the clang flag was pretty useful to measure the
      overhead of the additional analyses required to include hotness.
      (Without the flag we don't even run the analyses.)
      
      For the record, Hal has already expressed support for the idea of this
      patch on IRC.
      
      Differential Revision: https://reviews.llvm.org/D23284
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281276 91177308-0d34-0410-b5e6-96231b3b80d8
      fd2a481c
  16. Sep 12, 2016
  17. Sep 04, 2016
  18. Aug 30, 2016
Loading