[all-commits] [llvm/llvm-project] b87fc0: Bump sanitizer macOS deployment target to 10.10

Julian Lettner via All-commits all-commits at lists.llvm.org
Mon Nov 18 09:41:28 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b87fc09dceeff9cb838884961d817c0ab0257176
      https://github.com/llvm/llvm-project/commit/b87fc09dceeff9cb838884961d817c0ab0257176
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  Bump sanitizer macOS deployment target to 10.10

Bump default value for `SANITIZER_MIN_OSX_VERSION` to 10.10 (from 10.9).
TSan does not work on macOS 10.9 and a nice error message is preferable
to an "unreferenced symbol" error when loading the TSan runtime.

We could try to only bump the deployment target for TSan, but we would
have to invest into adding support for this to our CMake build and it
does not seem worth it.  macOS 10.10 was released in 2014.

rdar://31335781


  Commit: 4d4066a52013768118f736bc6582c2c43c780507
      https://github.com/llvm/llvm-project/commit/4d4066a52013768118f736bc6582c2c43c780507
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  Bump sanitizer iOS deployment target to 9.0

Bump default value for `-miphoneos-version-min=x` to 9.0 (from 8.0).
TSan tests that use thread local storage `__thread` (e.g., tls_race.cpp)
are failing to link for the iOS simulator (arch=x86_64 and
-miphoneos-version-min=8.0) on internal/master (will be submitted to
Glacier train):
```
ld: targeted OS version does not support use of thread local variables in _main for architecture x86_64
```

iOS 9.0 was released 2015.


  Commit: 7e4d386b77f982b260156fc6016ea9c33f466e0b
      https://github.com/llvm/llvm-project/commit/7e4d386b77f982b260156fc6016ea9c33f466e0b
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  [cmake] Factor out DEFAULT_SANITIZER_MIN_OSX_VERSION


Compare: https://github.com/llvm/llvm-project/compare/0aed64864977...7e4d386b77f9


More information about the All-commits mailing list