git: libc/gmon: Replace sbrk() with mmap()

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Thu Jun 22 16:49:02 PDT 2017


commit 39f02aea5ce534a709efd332f91005e707475436
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Fri Jun 23 01:40:14 2017 +0200

    libc/gmon: Replace sbrk() with mmap()
    
    - Fixes profiling for C++ programs compiled with lang/gcc5.
    
    Taken-from: FreeBSD (svn 288009)

Summary of changes:
 lib/libc/gmon/gmon.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/39f02aea5ce534a709efd332f91005e707475436


-- 
DragonFly BSD source repository



More information about the Commits mailing list