This repository has been archived by the owner on May 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #286 from bmstu-iu8-cpp-sem-3/master
added pic toolchain for asan tsan lsan
- Loading branch information
Showing
4 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (c) 2014, 2018 Ruslan Baratov | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_SANITIZE_ADDRESS_CXX17_PIC_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_SANITIZE_ADDRESS_CXX17_PIC_CMAKE_ 1) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake") | ||
|
||
polly_init( | ||
"Clang address sanitizer / c++17 support / PIC" | ||
"Unix Makefiles" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/compiler/clang.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx17.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/fpic.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/sanitize_address.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (c) 2014, 2018 Ruslan Baratov | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_SANITIZE_LEAK_CXX17_PIC_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_SANITIZE_LEAK_CXX17_PIC_CMAKE_ 1) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake") | ||
|
||
polly_init( | ||
"Clang memory leaks sanitizer / c++17 support / PIC" | ||
"Unix Makefiles" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/compiler/clang.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx17.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/fpic.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/sanitize_leak.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (c) 2014, 2018 Ruslan Baratov | ||
# All rights reserved. | ||
|
||
if(DEFINED POLLY_SANITIZE_THREAD_CXX17_PIC_CMAKE_) | ||
return() | ||
else() | ||
set(POLLY_SANITIZE_THREAD_CXX17_PIC_CMAKE_ 1) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_init.cmake") | ||
|
||
polly_init( | ||
"Clang thread sanitizer / c++17 support / PIC" | ||
"Unix Makefiles" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/utilities/polly_common.cmake") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/compiler/clang.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/cxx17.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/fpic.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/flags/sanitize_thread.cmake") |