From b15779f307fdf5f728a5392d3726a35a1bf57e5d Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Fri, 21 Feb 2014 23:55:15 +0000 Subject: Replace __FUNCTION__ with __func__, the latter being standard C99/C++11. llvm-svn: 201910 --- compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc') 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; -- cgit v1.2.3