Skip to content
Snippets Groups Projects
  1. Nov 29, 2017
  2. Nov 27, 2017
  3. Nov 23, 2017
  4. Nov 22, 2017
  5. Nov 21, 2017
  6. Nov 20, 2017
  7. Nov 17, 2017
  8. Nov 14, 2017
  9. Nov 13, 2017
  10. Nov 12, 2017
  11. Nov 11, 2017
  12. Nov 09, 2017
  13. Nov 07, 2017
  14. Nov 04, 2017
  15. Oct 31, 2017
    • Vlad Tsyrklevich's avatar
      [CFI] Add CFI-icall pointer type generalization · 746fd88c
      Vlad Tsyrklevich authored
      Summary:
      This change allows generalizing pointers in type signatures used for
      cfi-icall by enabling the -fsanitize-cfi-icall-generalize-pointers flag.
      This works by 1) emitting an additional generalized type signature
      metadata node for functions and 2) llvm.type.test()ing for the
      generalized type for translation units with the flag specified.
      
      This flag is incompatible with -fsanitize-cfi-cross-dso because it would
      require emitting twice as many type hashes which would increase artifact
      size.
      
      Reviewers: pcc, eugenis
      
      Reviewed By: pcc
      
      Subscribers: kcc
      
      Differential Revision: https://reviews.llvm.org/D39358
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317044 91177308-0d34-0410-b5e6-96231b3b80d8
      746fd88c
  16. Oct 27, 2017
    • Nico Weber's avatar
      Use -fuse-init-array if no gcc installation is found. · d724af7f
      Nico Weber authored
      clang currently uses .init_array instead of .ctors on Linux if it detects gcc
      4.7+. Make it so that it also uses .init_array if no gcc installation is found
      at all – if there's no old gcc, there's nothing we need to be compatible with.
      
      icecc for example runs clang in a very small chroot, so before this change
      clang would use .ctors if run under icecc. And lld currently silently mislinks
      inputs with .ctors sections, so before this clang + icecc + lld would produce
      broken binaries. (But this seems like a good change independent of that lld
      bug.)
      
      https://reviews.llvm.org/D39317
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316713 91177308-0d34-0410-b5e6-96231b3b80d8
      d724af7f
  17. Oct 26, 2017
  18. Oct 24, 2017
    • Roman Lebedev's avatar
      [Sema] Document+test the -Wsign-compare change for enums in C code [NFC] · 05b3b1db
      Roman Lebedev authored
      rL316268 / D39122 has fixed PR35009, and now when in C,
      these three(?) diagnostics properly use the enum's underlying
      datatype.
      
      While it was fixed, the test coverage was clearly insufficient,
      because the -Wsign-compare change didn't show up in any of the
      tests, until it was reported in the post-commit mail for rL316268.
      
      So add the test for the -Wsign-compare diagnostic for enum
      for C code, and while there, document this in the release notes.
      
      The fix itself was obviously correct, so unless we want to silence
      this new diagnosed case, i deem this commit to be NFC.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316500 91177308-0d34-0410-b5e6-96231b3b80d8
      05b3b1db
  19. Oct 21, 2017
  20. Oct 15, 2017
  21. Oct 13, 2017
    • Roman Lebedev's avatar
      Revert "[Sema] Diagnose tautological comparison with type's min/max values" · 720ba14b
      Roman Lebedev authored
      This reverts r315614,r315615,r315621,r315622
      Breaks http://bb9.pgr.jp/#/builders/20/builds/59
      
      /home/bb9/bootstrap-clang-libcxx-lld-i686-linux/llvm-project/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp:95:17: error: comparison 'long long' > 9223372036854775807 is always false [-Werror,-Wtautological-constant-compare]
          if (max_sec > Lim::max()) return false;
              ~~~~~~~ ^ ~~~~~~~~~~
      /home/bb9/bootstrap-clang-libcxx-lld-i686-linux/llvm-project/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp:124:13: error: comparison 'long long' < -9223372036854775808 is always false [-Werror,-Wtautological-constant-compare]
          if (sec < Lim::min() || sec > Lim::max())   return false;
              ~~~ ^ ~~~~~~~~~~
      /home/bb9/bootstrap-clang-libcxx-lld-i686-linux/llvm-project/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp:124:33: error: comparison 'long long' > 9223372036854775807 is always false [-Werror,-Wtautological-constant-compare]
          if (sec < Lim::min() || sec > Lim::max())   return false;
                                  ~~~ ^ ~~~~~~~~~~
      3 errors generated.
      --
      
      I'm not yet sure what is the proper fix.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315631 91177308-0d34-0410-b5e6-96231b3b80d8
      720ba14b
  22. Oct 12, 2017
  23. Oct 10, 2017
  24. Oct 06, 2017
  25. Sep 29, 2017
  26. Sep 28, 2017
  27. Sep 26, 2017
  28. Sep 23, 2017
  29. Sep 22, 2017
Loading