gecko-dev/mozglue/misc
Markus Stange ab700f9fc0 Bug 1499507 - Don't collect line numbers for profiling stack frames. r=njn
They were not displayed in the UI, and the instructions to initialize the line
field of a stack frame increased code size unnecessarily.

This change reduces the binary size on Linux x64 by around 100KB.

Here's a diff of the impact on the code generated for Attr_Binding::get_specified
in the Mac build:

@@ -20,17 +20,16 @@
    movq       0x8(%rbx), %rax
    movq       %r12, %rcx
    shlq       $0x5, %rcx
    leaq       aGetAttrspecifi, %rdx                       ; "get Attr.specified"
    movq       %rdx, (%rax,%rcx)
    movq       $0x0, 0x8(%rax,%rcx)
    leaq       -40(%rbp), %rdx
    movq       %rdx, 0x10(%rax,%rcx)
-   movl       $0x106, 0x18(%rax,%rcx)
    movl       $0x1c, 0x1c(%rax,%rcx)
    leal       0x1(%r12), %eax
    movl       %eax, 0x10(%rbx)

    movq       %r15, %rdi
    call       __ZNK7mozilla3dom4Attr9SpecifiedEv          ; mozilla::dom::Attr::Specified() const
    movzxl     %al, %eax
    movabsq    $0xfff9000000000000, %rcx

Depends on D9193

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

--HG--
extra : moz-landing-system : lando
2018-11-06 04:31:02 +00:00
..
interceptor Bug 1496173 - More aarch64 interceptor fixups. r=mhowell 2018-10-03 17:01:05 -04:00
AutoProfilerLabel.cpp Bug 1499507 - Don't collect line numbers for profiling stack frames. r=njn 2018-11-06 04:31:02 +00:00
AutoProfilerLabel.h Bug 1499507 - Don't collect line numbers for profiling stack frames. r=njn 2018-11-06 04:31:02 +00:00
ConditionVariable_posix.cpp Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
ConditionVariable_windows.cpp Bug 1364624 - Part 2: Switch from CRITICALSECTION to SRWLOCK. r=froydnj 2018-04-27 16:48:47 -07:00
DynamicallyLinkedFunctionPtr.h Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj 2018-06-02 09:33:26 +02:00
moz.build Bug 1451511: Add cross-process function hooking to DLL interceptor; r=handyman 2018-04-04 16:31:43 -06:00
Mutex_posix.cpp Bug 1465452 Part 1 - Allow platform mutexes to specify whether they are recorded, r=froydnj. 2018-07-21 14:28:21 +00:00
Mutex_windows.cpp Bug 1465452 Part 1 - Allow platform mutexes to specify whether they are recorded, r=froydnj. 2018-07-21 14:28:21 +00:00
MutexPlatformData_posix.h
MutexPlatformData_windows.h Bug 1364624 - Part 2: Switch from CRITICALSECTION to SRWLOCK. r=froydnj 2018-04-27 16:48:47 -07:00
nsWindowsDllInterceptor.h Bug 1496173 - More aarch64 interceptor fixups. r=mhowell 2018-10-03 17:01:05 -04:00
PlatformConditionVariable.h Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
PlatformMutex.h Bug 1465452 Part 1 - Allow platform mutexes to specify whether they are recorded, r=froydnj. 2018-07-21 14:28:21 +00:00
Printf.cpp
Printf.h Bug 1309552 - Specify buffer size when freeing data in AllocPolicy, r=waldo. 2018-07-20 23:58:34 +00:00
StackWalk_windows.h
StackWalk.cpp Bug 1485716 - part 2 - add aarch64 windows support to the stack walking code; r=aklotz 2018-08-23 16:48:53 -04:00
StackWalk.h Bug 1485716 - part 2 - add aarch64 windows support to the stack walking code; r=aklotz 2018-08-23 16:48:53 -04:00
TimeStamp_darwin.cpp Bug 1432429 - Integrate FuzzyFox into the TimeStamp class. r=baku,froydnj 2018-10-09 12:05:25 -05:00
TimeStamp_posix.cpp Bug 1432429 - Integrate FuzzyFox into the TimeStamp class. r=baku,froydnj 2018-10-09 12:05:25 -05:00
TimeStamp_windows.cpp Bug 1432429 - Integrate FuzzyFox into the TimeStamp class. r=baku,froydnj 2018-10-09 12:05:25 -05:00
TimeStamp_windows.h Bug 1432429 - Integrate FuzzyFox into the TimeStamp class. r=baku,froydnj 2018-10-09 12:05:25 -05:00
TimeStamp.cpp Bug 1432429 - Point the JS Runtimes at TimeStamp for the current time. r=jandem 2018-10-26 13:28:51 -05:00
TimeStamp.h Bug 1432429 - Point the JS Runtimes at TimeStamp for the current time. r=jandem 2018-10-26 13:28:51 -05:00
WindowsMapRemoteView.cpp Bug 1462727 - Make WindowsMapRemoteView.cpp work with April 2018 Update SDK. r=aklotz 2018-05-19 02:12:14 +09:00
WindowsMapRemoteView.h Bug 1451511: Add cross-process function hooking to DLL interceptor; r=handyman 2018-04-04 16:31:43 -06:00