toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 # This Source Code Form is subject to the terms of the Mozilla Public
     2 # License, v. 2.0. If a copy of the MPL was not distributed with this
     3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     5 ifdef MOZ_THUMB2 #{
     6 # The syscall number is passed through r7 in the linux ARM ABI, but r7
     7 # is also the THUMB frame pointer.  (Unfortunate, but ah well.)  gcc
     8 # complains if we store to r7, not unreasonably, but complains
     9 # inconsistently.  The generic syscall template pushes/stores to/pops
    10 # r7 with no complaint from gcc, but the sys_clone() function marks r7
    11 # as a clobbered register yet gcc error's.  The generated assembly for
    12 # sys_clone() looks OK, so we chalk this up to a gcc/gas quirk and
    13 # work around it by telling gcc that the THUMB frame pointer is a
    14 # vanilla callee-save register.
    15 OS_CXXFLAGS += -fomit-frame-pointer
    16 MOZ_FRAMEPTR_FLAGS := -fomit-frame-pointer
    17 endif #}

mercurial