Skip to content
Snippets Groups Projects
  1. Jul 31, 2017
  2. Jul 27, 2017
  3. Jul 26, 2017
  4. Jul 25, 2017
  5. Jul 21, 2017
  6. Jul 19, 2017
    • Petr Hosek's avatar
      [scan-build-py] Patch to fix "-analyzer-config" option · 7c3091ab
      Petr Hosek authored
      I noticed that when I use "-analyze-config" option in scan-build-py, it
      behaves differently from original perl based scan-build.
      
      For example, command:
      
      $ scan-build -analyzer-config ipa=basic-inlining make
      
      Will work without any issues on perl version of scan-build. But on
      scan-build-py it will throw an error message "error reading
      'ipa=basic-inlining'".
      
      After debugging, it turns out that the scan-build-py does not put
      "-analyzer-config" flag in front of the analyzer config flags (in this
      case is the "ipa=basic-inlining") in the final clang command line. This
      patch fixes this issue.
      
      Patch by Haowei Wu
      
      Differential Revision: https://reviews.llvm.org/D34489
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308401 91177308-0d34-0410-b5e6-96231b3b80d8
      7c3091ab
  7. Jul 18, 2017
  8. Jul 17, 2017
  9. Jul 14, 2017
  10. Jul 12, 2017
  11. Jul 11, 2017
  12. Jul 08, 2017
  13. Jun 30, 2017
  14. Jun 28, 2017
  15. Jun 27, 2017
  16. Jun 23, 2017
    • Saleem Abdulrasool's avatar
      Revert "Revert r305164/5/7." · 418fa968
      Saleem Abdulrasool authored
      Restore the `-gz` option to the driver with some minor tweaks to handle
      the additional case for `-Wa,--compress-debug-sections`.
      
      This intends to make the compression of the debug information
      controllable from the driver.  The following is the behaviour:
      
        -gz           enable compression (ambiguous for format, will default to zlib-gnu)
        -gz=none      disable compression
        -gz=zlib-gnu  enable compression (deprecated GNU style zlib compression)
        -gz=zlib      enable compression (zlib based compression)
      
      Although -Wa,-compress-debug-sections works, it should be discouraged
      when using the driver to invoke the assembler.  However, we permit the
      assembler to accept the GNU as style argument --compress-debug-sections
      to maintain compatibility.
      
      Note, -gz/-gz= does *NOT* imply -g.  That is, you need to additionally
      specific -g for debug information to be generated.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306115 91177308-0d34-0410-b5e6-96231b3b80d8
      418fa968
  17. Jun 20, 2017
  18. Jun 19, 2017
  19. Jun 17, 2017
  20. Jun 15, 2017
  21. Jun 12, 2017
  22. Jun 11, 2017
    • Saleem Abdulrasool's avatar
      Driver: add support for `-gz` and `-gz=` · cec25f71
      Saleem Abdulrasool authored
      These options control the behaviour of the compression of debug info
      sections on ELF targets.  Our behaviour slightly diverges from the
      behaviour of GCC.  `-gz` maps to the `-compress-debug-sections` rather
      than `-compress-debug-sections=zlib` or
      `-compress-debug-sections=zlib-gnu`.  This small divergence allows us to
      be compatible across versions of binutils (=zlib support was introduced
      in 2.26, while earlier versions only support =zlib-gnu).  This also
      allows users to not have to worry about the version of the assembler
      they may be using if they are not using the IAS.  Previously, users
      would have had to go through the internal option
      `-compress-debug-sectionss` and pass that through to the assembler,
      which is no longer needed.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305165 91177308-0d34-0410-b5e6-96231b3b80d8
      cec25f71
Loading