Skip to content
Snippets Groups Projects
  1. May 04, 2016
  2. May 03, 2016
  3. Apr 28, 2016
  4. Apr 27, 2016
    • Peter Collingbourne's avatar
      Rework interface for bitset-using features to use a notion of LTO visibility. · 47213cf9
      Peter Collingbourne authored
      Bitsets, and the compiler features they rely on (vtable opt, CFI),
      only have visibility within the LTO'd part of the linkage unit. Therefore,
      only enable these features for classes with hidden LTO visibility. This
      notion is based on object file visibility or (on Windows)
      dllimport/dllexport attributes.
      
      We provide the [[clang::lto_visibility_public]] attribute to override the
      compiler's LTO visibility inference in cases where the class is defined
      in the non-LTO'd part of the linkage unit, or where the ABI supports
      calling classes derived from abstract base classes with hidden visibility
      in other linkage units (e.g. COM on Windows).
      
      If the cross-DSO CFI mode is enabled, bitset checks are emitted even for
      classes with public LTO visibility, as that mode uses a separate mechanism
      to cause bitsets to be exported.
      
      This mechanism replaces the whole-program-vtables blacklist, so remove the
      -fwhole-program-vtables-blacklist flag.
      
      Because __declspec(uuid()) now implies [[clang::lto_visibility_public]], the
      support for the special attr:uuid blacklist entry is removed.
      
      Differential Revision: http://reviews.llvm.org/D18635
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267784 91177308-0d34-0410-b5e6-96231b3b80d8
      47213cf9
  5. Apr 26, 2016
  6. Apr 25, 2016
  7. Apr 18, 2016
  8. Apr 14, 2016
  9. Apr 13, 2016
  10. Apr 04, 2016
  11. Mar 31, 2016
  12. Mar 30, 2016
    • Gabor Horvath's avatar
      [ASTMatchers] Existing matcher hasAnyArgument fixed · 222b56d7
      Gabor Horvath authored
      Summary: A checker (will be uploaded after this patch) needs to check implicit casts. The checker needs matcher hasAnyArgument but it ignores implicit casts and parenthesized expressions which disables checking of implicit casts for arguments in the checker. However the documentation of the matcher contains a FIXME that this should be removed once separate matchers for ignoring implicit casts and parenthesized expressions are ready. Since these matchers were already there the fix could be executed. Only one Clang checker was affected which was also fixed (ignoreParenImpCasts added) and is separately uploaded. Third party checkers (not in the Clang repository) may be affected by this fix so the fix must be emphasized in the release notes.
      
      Reviewers: klimek, sbenza, alexfh
      
      Subscribers: alexfh, klimek, xazax.hun, cfe-commits
      
      Differential Revision: http://reviews.llvm.org/D18243
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264855 91177308-0d34-0410-b5e6-96231b3b80d8
      222b56d7
  13. Mar 28, 2016
  14. Mar 24, 2016
  15. Mar 23, 2016
  16. Mar 22, 2016
  17. Mar 21, 2016
  18. Mar 15, 2016
  19. Mar 09, 2016
  20. Mar 03, 2016
  21. Feb 27, 2016
  22. Feb 24, 2016
  23. Feb 23, 2016
Loading