summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-05-08 10:39:05 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-05-08 10:39:05 +0000
commit5829a98c48cf9009e4887e89e3075b3058909e8e (patch)
treecc862545ff282b597489647a3e5a3101932ddfb0 /clang/lib/CodeGen/CodeGenModule.cpp
parent0f0234e16ece8610248ce0a7113f7bb75853ed58 (diff)
downloadbcm5719-llvm-5829a98c48cf9009e4887e89e3075b3058909e8e.tar.gz
bcm5719-llvm-5829a98c48cf9009e4887e89e3075b3058909e8e.zip
[nolibc] Disable the GCC stack protector when building sanitizer runtimes.
This is the first in a sequence of changes designed to eliminate the libc dependency in sanitizer_common. The main motivation for these changes is to be able to provide an alternative for the current interceptor-based technique for instrumenting functions in libc. In this new technique, we compile libc with instrumentation. This has the potential advantages of being more accurate than interception and reducing the amount of custom code required for each libc function. As a side effect of this, we cannot depend on libc in the sanitizer runtime due to mutual dependency issues. This change disables the GCC stack protector, which introduces a libc dependency and is enabled by default in Ubuntu. Differential Revision: http://llvm-reviews.chandlerc.com/D755 llvm-svn: 181422
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud