diff options
| author | Joerg Sonnenberger <joerg@bec.de> | 2014-02-21 23:55:15 +0000 |
|---|---|---|
| committer | Joerg Sonnenberger <joerg@bec.de> | 2014-02-21 23:55:15 +0000 |
| commit | b15779f307fdf5f728a5392d3726a35a1bf57e5d (patch) | |
| tree | 89eadfda56e95aa8cbc112aba2a90376a782ffe0 /compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc | |
| parent | 938b0df72dcaaeddcc0eb10a39bc5c66e84fbc80 (diff) | |
| download | bcm5719-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_allocator.cc')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc index daaf7e1ce05..c3bdd34eb99 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc @@ -117,7 +117,7 @@ void *LowLevelAllocator::Allocate(uptr size) { if (allocated_end_ - allocated_current_ < (sptr)size) { uptr size_to_allocate = Max(size, GetPageSizeCached()); allocated_current_ = - (char*)MmapOrDie(size_to_allocate, __FUNCTION__); + (char*)MmapOrDie(size_to_allocate, __func__); allocated_end_ = allocated_current_ + size_to_allocate; if (low_level_alloc_callback) { low_level_alloc_callback((uptr)allocated_current_, |

