summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-02-21 23:55:15 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-02-21 23:55:15 +0000
commitb15779f307fdf5f728a5392d3726a35a1bf57e5d (patch)
tree89eadfda56e95aa8cbc112aba2a90376a782ffe0 /compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc
parent938b0df72dcaaeddcc0eb10a39bc5c66e84fbc80 (diff)
downloadbcm5719-llvm-b15779f307fdf5f728a5392d3726a35a1bf57e5d.tar.gz
bcm5719-llvm-b15779f307fdf5f728a5392d3726a35a1bf57e5d.zip
Replace __FUNCTION__ with __func__, the latter being standard C99/C++11.
llvm-svn: 201910
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc b/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc
index 58f343d164a..b97fa78e069 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc
@@ -105,7 +105,7 @@ void SetAlternateSignalStack() {
// TODO(glider): the mapped stack should have the MAP_STACK flag in the
// future. It is not required by man 2 sigaltstack now (they're using
// malloc()).
- void* base = MmapOrDie(kAltStackSize, __FUNCTION__);
+ void* base = MmapOrDie(kAltStackSize, __func__);
altstack.ss_sp = base;
altstack.ss_flags = 0;
altstack.ss_size = kAltStackSize;
OpenPOWER on IntegriCloud