Skip to content
  1. Jul 28, 2020
  2. Jun 30, 2020
  3. Jun 04, 2020
  4. Jun 03, 2020
    • Julian Lettner's avatar
      [Darwin] Improve runtime OS version checks · ba6b1b43
      Julian Lettner authored
      Use a struct to represent numerical versions instead of encoding release
      names in an enumeration. This avoids the need to extend the enumeration
      every time there is a new release.
      
      Rename `GetMacosVersion() -> GetMacosAlignedVersion()` to better reflect
      how this is used on non-MacOS platforms.
      
      Reviewed By: delcypher
      
      Differential Revision: https://reviews.llvm.org/D79970
      ba6b1b43
  5. Jun 01, 2020
    • Julian Lettner's avatar
      [Darwin] Add and adopt a way to query the Darwin kernel version · f97a609b
      Julian Lettner authored
      This applies the learnings from [1].  What I intended as a simple
      cleanup made me realize that the compiler-rt version checks have two
      separate issues:
      
      1) In some places (e.g., mmap flag setting) what matters is the kernel
         version, not the OS version.
      2) OS version checks are implemented by querying the kernel version.
         This is not necessarily correct inside the simulators if the
         simulator runtime isn't aligned with the host macOS.
      
      This commit tackles 1) by adopting a separate query function for the
      Darwin kernel version.  2) (and cleanups) will be dealt with in
      follow-ups.
      
      [1] https://reviews.llvm.org/D78942
      
      rdar://63031937
      
      Reviewed By: delcypher
      
      Differential Revision: https://reviews.llvm.org/D79965
      f97a609b
  6. May 21, 2020
  7. Jun 11, 2019
  8. Jan 19, 2019
    • Chandler Carruth's avatar
      Update the file headers across all of the LLVM projects in the monorepo · 2946cd70
      Chandler Carruth authored
      to reflect the new license.
      
      We understand that people may be surprised that we're moving the header
      entirely to discuss the new license. We checked this carefully with the
      Foundation's lawyer and we believe this is the correct approach.
      
      Essentially, all code in the project is now made available by the LLVM
      project under our new license, so you will see that the license headers
      include that license only. Some of our contributors have contributed
      code under our old license, and accordingly, we have retained a copy of
      our old license notice in the top-level files in each project and
      repository.
      
      llvm-svn: 351636
      2946cd70
  9. Oct 26, 2018
  10. Aug 22, 2018
  11. Nov 10, 2017
  12. Sep 22, 2017
  13. Jul 13, 2017
    • Kuba Mracek's avatar
      [asan] For iOS/AArch64, if the dynamic shadow doesn't fit, restrict the VM space · c1e903be
      Kuba Mracek authored
      On iOS/AArch64, the address space is very limited and has a dynamic maximum address based on the configuration of the device. We're already using a dynamic shadow, and we find a large-enough "gap" in the VM where we place the shadow memory. In some cases and some device configuration, we might not be able to find a large-enough gap: E.g. if the main executable is linked against a large number of libraries that are not part of the system, these libraries can fragment the address space, and this happens before ASan starts initializing.
      
      This patch has a solution, where we have a "backup plan" when we cannot find a large-enough gap: We will restrict the address space (via MmapFixedNoAccess) to a limit, for which the shadow limit will fit.
      
      Differential Revision: https://reviews.llvm.org/D35098
      
      llvm-svn: 307865
      c1e903be
  14. Sep 15, 2016
    • Anna Zaks's avatar
      [compiler-rt] Do not introduce __sanitizer namespace globally · 691644f3
      Anna Zaks authored
      The definitions in sanitizer_common may conflict with definitions from system headers because:
      
      The runtime includes the system headers after the project headers (as per LLVM coding guidelines).
      lib/sanitizer_common/sanitizer_internal_defs.h pollutes the namespace of everything defined after it, which is all/most of the sanitizer .h and .cc files and the included system headers with: using namespace __sanitizer; // NOLINT
      This patch solves the problem by introducing the namespace only within the sanitizer namespaces as proposed by Dmitry.
      
      Differential Revision: https://reviews.llvm.org/D21947
      
      llvm-svn: 281657
      691644f3
  15. Jan 07, 2016
  16. Nov 20, 2015
  17. Jun 23, 2015
    • Chris Bieneman's avatar
      Working on reconciling out-of-tree patches to compiler-rt for building for iOS. · e13272a0
      Chris Bieneman authored
      Summary:
      This is one of many changes needed for compiler-rt to get it building on iOS.
      
      This change does the following:
      - Don't include crt_externs on iOS (it isn't available)
      - Support ARM thread state objects
      
      Note: this change does not enable building for iOS, as there are more changes to come.
      
      Reviewers: glider, kubabrecka, bogner, samsonov
      
      Reviewed By: samsonov
      
      Subscribers: samsonov, aemerson, llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D10510
      
      llvm-svn: 240467
      e13272a0
  18. Apr 08, 2015
  19. Dec 16, 2014
  20. Nov 05, 2014
  21. Feb 03, 2014
Loading