Mike Hommey
7d7c694103
Bug 956398 - Only support text relocations for libflashplayer.so. r=nfroyd
2014-01-25 07:59:14 +09:00
Mike Hommey
b0ff197fa9
Bug 956398 - Support text relocations in the custom linker. r=nfroyd
2014-01-16 09:13:42 +09:00
James Willcox
c32e3e469c
Bug 935676 - Stub out missing Flash symbols r=glandium
...
--HG--
extra : rebase_source : 7e02a6283a6ee53b3749e1816d4005b238085954
2014-01-15 09:16:33 -06:00
Mike Hommey
19fa98973b
Bug 959254 - Make MappableSeekableZStream::ensure mprotect error message more useful for debugging failures. r=nfroyd
2014-01-15 16:21:45 +09:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
57a2dfcb91
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Birunthan Mohanathas
866c961b74
Bug 784739 - Switch from NULL to nullptr in mozglue/linker/; r=ehsan
2013-11-11 14:15:46 -05:00
Mike Hommey
53040f08c9
Bug 933120 - Move HOST_PROGRAM and HOST_SIMPLE_PROGRAMS to moz.build. r=gps
2013-11-02 08:44:11 +09:00
Jim Chen
a470a16c5b
Bug 930627 - Implement __gnu_Unwind_Find_exidx in custom linker on ARM. r=glandium
2013-10-31 11:40:32 -04:00
Cykesiopka
a3710e5c11
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Nathan Froyd
3a9e98c668
Bug 927428 - use __LP64__ instead of HAVE_64BIT_OS in the linker; r=glandium
2013-10-16 11:14:19 -04:00
Mike Hommey
e9d9adfd0d
Bug 886736 - Disable on-demand decompression when latency to get into segfault handlers is too high. r=nfroyd
2013-10-01 15:30:45 +09:00
Nathan Froyd
172b09169d
Bug 920558 - map anonymous pages differently on ARM and x86; r=glandium
2013-09-26 11:17:05 -04:00
Nathan Froyd
46a5535bce
Bug 916923 - work around crash reporter issues with adjacent memory mappings on x86 android; r=glandium,f=gbrown
2013-09-23 15:02:28 -04:00
Joey Armstrong
1938109537
bug 888009: move HOST_CPPSRCS to mozbuild (batch #2 ) r=mshal
2013-09-12 13:32:27 -04:00
Mike Hommey
6ed6a26a2c
Bug 914374 - Fix buffer overflow in BCJ_X86_filter when the given buffer is too small. r=nfroyd
2013-09-11 08:15:39 +09:00
Seth Fowler
11f1b0d393
Bug 912299 - Make RefCounted's refcount field mutable. r=waldo
2013-09-06 13:32:55 -07:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Mike Hommey
9400bbf7a7
Bug 907957 - Detect if a segfault signal handler is useless. If it is, disable on-demand decompression. r=nfroyd
2013-08-30 11:14:17 +09:00
Jim Chen
0bc2b5c5ea
Bug 904646 - Skip NULLs when traversing envp/auxv pointers to let GDB work on Android 4.3; r=glandium
2013-08-14 12:54:33 -04:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Mike Hommey
30a2955d3c
Bug 897723 - Allow faulty.lib's on-demand decompression to be reentrant. r=nfroyd
2013-07-26 12:57:53 +09:00
Mike Hommey
c2a6eb76c3
Bug 894829 - Avoid symbol resolution for relocations for the same symbol in faulty.lib. r=nfroyd
2013-07-23 07:26:08 +09:00
Mike Hommey
b145205964
Bug 882608 - Fix various issues in faulty.lib with incomplete pages and MOZ_LINKER_ONDEMAND=0. r=nfroyd
2013-07-23 07:26:07 +09:00
Mike Hommey
11a3618083
Bug 891266 - Allow to enable faulty.lib debug log at runtime. r=nfroyd
2013-07-10 14:12:35 +09:00
Justin Lebar
75c400493b
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Mike Hommey
03265abd52
Bug 886730 - Move a szip.cpp MOZ_ASSERT to a safer place. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
a6b496bb8d
Bug 886730 - Add and use a MemoryRange class and helper functions for page alignment in faulty.lib. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
ca0fbda537
Bug 886726 - Fix warnings in szip.cpp. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
8fd281dcec
Bug 886722 - Rename log/debug to LOG/DEBUG_LOG in faulty.lib. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
a682d7fe75
Bug 885336 - Fix various issues with the dl_mmap interface. r=nfroyd
2013-06-27 09:35:48 +09:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Julian Seward
08b09fb3cc
Bug 882903 - SPS breadkpad unwinder segfaults with on-demand decompression on. r=glandium.
2013-06-14 14:03:25 +02:00
Mike Hommey
835bd7384a
Bug 874708 - Hook libc's sigaction to avoid system libraries replacing our segfault handler temporarily and restoring it wrongly. r=nfroyd
2013-06-09 09:23:03 +02:00
Mike Hommey
4051a892ab
Bug 875824 - Allow to disable on-demand decompression at runtime. r=sewardj
2013-05-29 16:18:27 +02:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Mike Hommey
5b640b3daa
Bug 865583 - Use thread-safe ref-counting in the linker. r=nfroyd
2013-05-18 09:53:18 +02:00
Mike Hommey
6334a79a0e
Bug 864035 - Add an atomic RefCounted and WeakPtr implementation. r=Waldo
2013-05-18 09:52:53 +02:00
Mike Hommey
d06212fc0b
Bug 861796 - Fix crash in LibHandle::~LibHandle. r=nfroyd
2013-04-15 18:36:13 +02:00
Mike Hommey
83a22e1678
Bug 802240 - Expose an API to mmap the underlying file for a library loaded by faulty.lib. r=nfroyd
2013-04-12 10:23:12 +02:00
Vicamo Yang
57bd116b87
Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium
2013-04-12 13:39:42 +08:00
Mike Hommey
59a9121097
Bug 848385 - Avoid recompressing a szip, and (de)compress in-place (but still with a temporary file). r=nfroyd,khuey
2013-04-11 09:37:44 +02:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00