Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Nathan Froyd a66584728f Bug 1579523 - fix visibility definition for future NDKs on Android; r=nalexander
A previous patch defined `_LIBCPP_HIDE_FROM_ABI` to the empty string.
This definition worked for normal (opt/debug) builds, but
PGO-instrumented builds fell over with some linker errors.  A closer
look at the definition of `_LIBCPP_HIDE_FROM_ABI`:

```
#ifndef _LIBCPP_HIDE_FROM_ABI_PER_TU
#  ifndef _LIBCPP_HIDE_FROM_ABI_PER_TU_BY_DEFAULT
#    define _LIBCPP_HIDE_FROM_ABI_PER_TU 0
#  else
#    define _LIBCPP_HIDE_FROM_ABI_PER_TU 1
#  endif
#endif

#ifndef _LIBCPP_HIDE_FROM_ABI
#  if _LIBCPP_HIDE_FROM_ABI_PER_TU
#    define _LIBCPP_HIDE_FROM_ABI _LIBCPP_HIDDEN _LIBCPP_INTERNAL_LINKAGE
#  else
#    define _LIBCPP_HIDE_FROM_ABI _LIBCPP_HIDDEN _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION
#  endif
#endif
```

says that there are two macros involved there: one to set hidden visibility
(which we don't want), and another to exclude the function definition
from explicit instantiation.  The semantics of this are not obvious (the
clang documentation only documents this attribute in terms of C++
templates; the particular case we're interested in sets the attribute on
normal function definitions).  But roughly, what this does is that it
forces the compiler to see that an equivalent function definition is
provided external to the compilation unit, so it doesn't have to keep
the annotated function definition around.

Differential Revision: https://phabricator.services.mozilla.com/D45073

--HG--
extra : moz-landing-system : lando
2019-09-11 15:13:36 +00:00
.cargo Bug 1577717: Bump Cranelift to fc88520b88bcaad4e4a92f28a5e17347af20edbd; r=jseward 2019-08-30 15:12:56 +00:00
.vscode Bug 1563848 - Recommend a VSCode plugin for prettier. r=vporof 2019-07-06 07:33:28 +00:00
accessible Bug 1277201: Fire a STATE_CHANGE event when a details element is opened or closed. r=eeejay 2019-09-10 16:16:53 +00:00
browser Bug 1579487 - Change the Protections database API to return the correct date in the user's timezone. r=johannh 2019-09-11 18:06:25 +00:00
build Bug 1579523 - fix visibility definition for future NDKs on Android; r=nalexander 2019-09-11 15:13:36 +00:00
caps Bug 1579357 - Check the arguments in BasePrincipal XPCOM methods, r=jkt 2019-09-09 16:45:29 +00:00
chrome Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
config Bug 1570772 - Fix license text for some files. r=ahal 2019-09-11 14:24:29 +00:00
devtools Bug 1580312 - Refactor ResponsiveUI into its own module. r=mtigley 2019-09-10 21:36:07 +00:00
docshell Bug 1560110 - Cache children of detached browsing contexts. r=nika 2019-09-10 15:37:54 +00:00
dom Bug 1575663 - Improve WebIDL bindgen of enum variants starting with a digit r=bzbarsky 2019-09-11 16:10:45 +00:00
editor Bug 1574852 - part 95: Move HTMLEditRules::AfterEditInner() to HTMLEditor r=m_kato 2019-09-11 10:39:38 +00:00
extensions Bug 1571339 - Don't use nsTextFragment::AppendTo to get string in TextNodeContainsDOMWordSeparator. r=masayuki 2019-09-09 03:42:45 +00:00
gfx Bug 1580543. Update to VS 2017 for WebRender appveyor. r=kvark 2019-09-11 17:30:02 +00:00
gradle/wrapper Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander 2019-07-24 18:48:54 +00:00
hal Bug 1289211 - Rename InfallibleTArray to nsTArray in hal/ r=gsvelto 2019-07-10 03:30:52 +00:00
image Backed out changeset 3519c255f86e (bug 1284651) for gtest failures CLOSED TREE 2019-09-10 03:49:53 +03:00
intl Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
ipc Bug 1578398 - Check 'CanSend()' when calling Send__delete__(), r=mccr8 2019-09-05 18:08:58 +00:00
js Bug 1564230: Properly report OOM from js::DebugEnvironments::updateLiveEnvironments. r=jorendorff 2019-09-11 13:41:47 +00:00
layout Backed out changeset 7876583b2407 (bug 1577236) for causing failures in calc-rounding-001.html CLOSED TREE 2019-09-11 18:48:22 +03:00
media Bug 1569250 - Add telemetry for mDNS use in WebRTC; r=bwc 2019-09-09 16:45:02 +00:00
memory Bug 1411613 - mark certain allocation functions as non-throwing; r=glandium 2019-09-04 23:40:15 +00:00
mfbt Bug 1580458 - remove wchar.h include from TypeTraits.h; r=dmajor 2019-09-11 12:46:09 +00:00
mobile Bug 1579073 - Copy robocop test files required by junit to a junit-specific location; r=agi 2019-09-11 16:43:52 +00:00
modules Bug 1529068 - Implementation of the navigate-to CSP directive as defined in CSP Level 3. r=ckerschb,mccr8 2019-09-10 22:33:51 +00:00
mozglue Bug 1580293: Ensure that parameter packs in mozglue/misc are expanded as rvalue references; r=mhowell 2019-09-10 19:55:44 +00:00
netwerk Bug 1562773 - Propagate Delegated Credential flag to nsITransportSecurityInfo r=keeler,jcj 2019-09-11 15:19:57 +00:00
nsprpub Bug 1562330 - Upgrade Firefox 70 to use NSPR 4.22. 2019-08-19 14:23:11 +00:00
other-licenses Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium 2019-07-11 16:40:13 +00:00
parser Bug 1575620 - Fix refreshing session restore when using prototype cache. r=smaug 2019-09-06 20:27:09 +00:00
python Bug 1579540 - Migrate urlbar.viewSiteInfo.label from dtd to ftl r=fluent-reviewers,flod 2019-09-11 16:36:14 +00:00
remote bug 1540655: remote: document how to vendor Puppeteer; r=remote-protocol-reviewers,jdescottes 2019-08-16 12:58:34 +00:00
security Bug 1562773 - Propagate Delegated Credential flag to nsITransportSecurityInfo r=keeler,jcj 2019-09-11 15:19:57 +00:00
services Bug 1575921 - store the FxA device ID in an FxA-specific pref branch. r=eoger 2019-09-11 01:37:50 +00:00
servo Bug 1577171 - Remove duplicated logic from Stylo's Gecko wrapper. r=emilio 2019-09-09 17:23:20 +00:00
startupcache Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan 2019-08-07 19:49:40 +00:00
storage Bug 1575692 - do not recreate the DB file via the directory service inside DatabaseLocker class off the mainthread, r=mak 2019-08-27 14:31:48 +00:00
taskcluster Bug 1567926 - switch newtab unit tests to tier 1, r=ahal 2019-09-11 14:19:44 +00:00
testing Backed out changeset d0fb6559c22e (bug 1579331) for failing in browser_contextmenu.js CLOSED TREE 2019-09-11 19:05:35 +03:00
third_party bug 1520585: third_party: vendor Rust dependencies; r=webdriver-reviewers,whimboo 2019-09-09 11:00:00 +00:00
toolkit Bug 1579487 - Change the Protections database API to return the correct date in the user's timezone. r=johannh 2019-09-11 18:06:25 +00:00
tools Bug 1580128 - Simplify required env variables for fuzzing interface. r=froydnj 2019-09-10 14:33:58 +00:00
uriloader Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug 2019-09-10 10:57:07 +00:00
view Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert 2019-09-05 21:37:32 +00:00
widget Bug 1579849 - [Wayland] Optimize cached rendering to wl_buffer for widget.wayland_cache_mode=1, r=jhorak 2019-09-11 15:32:48 +00:00
xpcom Bug 1529068 - Implementation of the navigate-to CSP directive as defined in CSP Level 3. r=ckerschb,mccr8 2019-09-10 22:33:51 +00:00
xpfe/appshell Backed out 6 changesets (bug 1576407) for causing wpt and mochitest failures. CLOSED TREE 2019-08-29 03:00:47 +03:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1563903 - Remove libmar from the clang ignore list r=Ehsan 2019-07-08 15:39:24 +00:00
.cron.yml Bug 1576729 - disable ship-geckoview on release to stop failure email spam r=aryx p=aki 2019-08-27 09:29:03 +00:00
.eslintignore Backed out 9 changesets (bug 1578623) for causing Windows build bustages CLOSED TREE 2019-09-09 03:37:09 +03:00
.eslintrc.js Bug 1578679 - Remove unnecessary section from .eslintrc.js now that the xml files it references have been removed. r=bgrins 2019-09-04 16:33:11 +00:00
.flake8 Bug 1573566 - Move the real libxul definition in a subdirectory. r=froydnj 2019-08-16 21:44:10 +00:00
.gdbinit
.gdbinit_python Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.git-blame-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.gitattributes Bug 770286: Prevent git LF-to-CRLF autoconversion r=glandium 2019-07-06 02:36:03 +00:00
.gitignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hg-annotate-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.hg-format-source Bug 1556393 - Pre 1 (m-c): Update .hg-format-source to use Prettier when running format-source, r=andi, CLOSED TREE 2019-07-03 20:48:37 +02:00
.hgignore Bug 1575089 - Add a new Talos test that measures warm startup time with a number of real-world WebExtensions installed. r=rwood 2019-08-31 06:58:00 +00:00
.hgtags No bug - Tagging mozilla-central b338d55d5007ce5a7d4cdce3aaa8e9f63c5555f7 with FIREFOX_NIGHTLY_70_END a=release DONTBUILD CLOSED TREE 2019-09-02 08:59:36 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1572332 - Move non-debugger devtools prefs into all.js and firefox.js. r=jdescottes 2019-08-26 01:44:59 +00:00
.prettierrc Bug 1578564 - Workaround a prettier warning so that we can run it on html/xhtml files. r=vporof 2019-09-04 06:59:03 +00:00
.taskcluster.yml Bug 1459355: Don't pass parameters as part of actions; r=dustin 2019-08-09 17:02:15 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4 Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester 2019-06-12 22:30:46 +00:00
AUTHORS
build.gradle Bug 1572859 - Package more aggressively when building GeckoView (and Fennec) within Gradle. r=agi 2019-08-14 20:38:42 +00:00
Cargo.lock Bug 1579661 - js/src/wasm/cranelift/src/bindings/mod.rs: FuncTypeWithId::args: use SmallVec rather than Vec. r=bbouvier. 2019-09-09 09:05:16 +00:00
Cargo.toml Bug 1577717: Bump Cranelift to fc88520b88bcaad4e4a92f28a5e17347af20edbd; r=jseward 2019-08-30 15:12:56 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-09-02 09:00:31 +00:00
configure.in
configure.py Bug 844509 - Always encode config.status as utf-8. r=nalexander 2019-08-21 21:26:32 +00:00
GNUmakefile
gradle.properties Bug 1577814 - Increase Gradle heap size. r=nalexander 2019-08-30 17:13:46 +00:00
gradlew
gradlew.bat
LEGAL
LICENSE
mach Bug 1577501 - [mach] Make sure ./mach help <command> uses the correct Python, r=glandium 2019-09-03 00:39:22 +00:00
Makefile.in Bug 1550146 - Part 2: Make mach "build" run "stage-package && android assemble-app" for mobile/android. r=glandium 2019-08-21 03:07:16 +00:00
moz.build Bug 1580028 - Always merge PGO profile data in the run task; r=firefox-build-system-reviewers,chmanchester 2019-09-10 21:56:15 +00:00
moz.configure Bug 1543220 - Enable building gtest xul for Thunderbird. r=nalexander 2019-09-10 23:18:27 +00:00
mozilla-config.h.in
old-configure.in Bug 1579545 - remove unused NO_PW_GECOS defines; r=nalexander 2019-09-06 21:35:23 +00:00
package-lock.json Bug 1540982 - Upgrade to ESLint 6.2.2 and switch to ECMA version 11 (BigInt support, Dynamic imports). r=mossop 2019-08-27 14:51:29 +00:00
package.json Bug 1540982 - Upgrade to ESLint 6.2.2 and switch to ECMA version 11 (BigInt support, Dynamic imports). r=mossop 2019-08-27 14:51:29 +00:00
README.txt
settings.gradle Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio 2019-05-09 20:38:48 +00:00
substitute-local-geckoview.gradle Bug 1533465 - Add Gradle script for substituting local GeckoView into downstream consumers. r=sebastian 2019-08-15 21:18:24 +00:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.