-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable building PTH with address sanitizer (#1)
* Enable building PTH with address sanitizer, on both GCC and Clang. Clang also has the option to use annotations to enable the sanitizer to switch stacks. * Adds convenience script for building & installing. * Adds gitignore file for convenience * Fix typo in PTH_DEBUG macro when --enable-debug is set
- Loading branch information
Showing
6 changed files
with
142 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
*.o | ||
*.lo | ||
*.la | ||
.libs/ | ||
bin/ | ||
include/ | ||
lib/ | ||
man/ | ||
share/ | ||
test_* | ||
config.log | ||
config.status | ||
libtool | ||
pth_p.h | ||
pth.h | ||
.done-all | ||
.done-test | ||
.gdb* | ||
Makefile | ||
pth-config | ||
pth_acdef.h | ||
pth_acmac.h | ||
tags |
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,8 @@ | ||
#!/bin/bash | ||
# USE: This configures/installs pth locally in $HOME/lib and $HOME/include. | ||
# MANDATORY: Set env variables CC and CXX before running this script | ||
# On the parsa cluster, you should use /home/parsacom/tools/gcc-qflex/path/to/bin/gcc and g++ | ||
./configure --with-pic --enable-shared --disable-static --prefix=$HOME | ||
make -j | ||
make test | ||
#make install |
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
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