Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Fixes building on iOS #5

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/config.stamp
/config.log
/config.status
/configure

/doc/html.xsl
/doc/manpages.xsl
Expand Down
3 changes: 2 additions & 1 deletion bin/pprof
Original file line number Diff line number Diff line change
Expand Up @@ -2840,6 +2840,7 @@ sub RemoveUninterestingFrames {
'rallocx', # jemalloc
'xallocx', # jemalloc
'dallocx', # jemalloc
'sdallocx', # jemalloc
'tc_calloc',
'tc_cfree',
'tc_malloc',
Expand Down Expand Up @@ -4167,7 +4168,7 @@ sub ReadThreadedHeapProfile {
my $thread = $2;
my ($n1, $s1, $n2, $s2) = ($3, $4, $5, $6);
my @counts = AdjustSamples($sample_adjustment, $sampling_algorithm,
$n1, $s2, $n2, $s2);
$n1, $s1, $n2, $s2);
if ($thread eq "*") {
AddEntries($profile, $pcs, FixCallerAddresses($stack), $counts[$index]);
} else {
Expand Down
3 changes: 3 additions & 0 deletions config.sub
Original file line number Diff line number Diff line change
Expand Up @@ -1404,6 +1404,9 @@ case $os in
-mac*)
os=`echo $os | sed -e 's|mac|macos|'`
;;
# Apple iOS
-ios*)
;;
-linux-dietlibc)
os=-linux-dietlibc
;;
Expand Down
Loading