Commit Graph

43 Commits

Author SHA1 Message Date
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Nathan Froyd
1471dc0034 Bug 1169034 - include <cstdlib> in ThreadStackHelper.cpp to declare correct overload for std::abs; r=jseward
The integer-valued {,l,ll}abs functions come from <stdlib.h>, and so the
integer-valued overload for std::abs comes from <cstdlib>.
2015-05-27 16:54:38 -04:00
Jim Chen
b02bb1ab46 Bug 1164090 - Check for Windows path separator in BHR file name; r=snorp 2015-05-19 11:27:18 -04:00
Trevor Saunders
473f2ceb3c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Jim Chen
440aa2410a Bug 1113416 - Don't read stack labels inside hang monitor sighandler; r=nfroyd r=snorp
When we're inside the hang monitor's signal handler, we must not read any string labels. Doing so may result in on-demand decompression kicking in on Android, which may result in a deadlock.
2015-01-10 12:41:48 -05:00
Jim Chen
02fe0889b7 Bug 1109291 - Include better paths for hanging chrome scripts in profile extensions directory; r=snorp r=bsmedberg
--HG--
extra : amend_source : 82f1911bd294cc38076bf2bea2113b9e58e4bcc5
2014-12-16 17:09:17 -05:00
Jim Chen
9e1fa5e6fd Bug 1091758 - Report full paths for most chrome scripts; r=snorp 2014-11-25 15:35:21 -08:00
Julian Seward
e3c9f4ba39 Bug 1100911 - For MacOS builds running on Valgrind, make ThreadStackHelper::GetStack be a no-op. r=nchen.
--HG--
extra : rebase_source : b78df813b0fb211043836f4b8692caf277a2b28f
2014-11-20 20:50:26 +01:00
Tom Schuster
2c3047badc Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Tom Schuster
325d8fe2cc Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu 2014-09-23 15:25:31 +02:00
Birunthan Mohanathas
51a8149753 Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj 2014-08-25 12:17:15 -07:00
Jim Chen
93c43956e1 Bug 1050440 - Remove repeated js::RunScript frames in ThreadStackHelper; r=snorp
--HG--
extra : amend_source : 26d40a84e7a107f328809e4dae94a0bd9db15c8b
2014-08-14 17:17:55 -04:00
Julian Seward
54e8c89a6a Bug 1050185 - Make ThreadStackHelper::FillThreadContext Valgrind-friendly. r=nchen 2014-08-12 12:15:06 +02:00
Jim Chen
90bab51e77 Bug 1049161 - Fix ThreadStackHelper thread handle permissions on Windows; r=snorp 2014-08-08 18:11:53 -04:00
Jeff Walden
03e3c7dc45 Bug 1047123 - ThreadStackHelper should use UniquePtr<uint8_t[]>, not ScopedDeleteArray. r=jchen
--HG--
extra : rebase_source : 11aec2ba0c908a5ad892b832db130a84c562566b
2014-08-01 10:49:37 -07:00
Jan Beich
67716c6796 Bug 1045176 - Unbreak build on non-SPS platforms after bug 1016629. r=nchen 2014-07-28 12:29:00 +02:00
Jim Chen
f714037ddf Bug 1016629 - g. Avoid ASan flag when copying stack; r=snorp 2014-07-28 13:30:22 -04:00
Jim Chen
f00d8020b4 Bug 1016629 - e. Implement platform-specific code for filling in context; r=snorp r=jseward 2014-07-28 13:30:21 -04:00
Jim Chen
67403ba315 Bug 1016629 - d. Add and implement GetNativeStack method in ThreadStackHelper; r=snorp r=jseward 2014-07-28 13:30:21 -04:00
Jim Chen
40e8b9ef12 Bug 1016629 - c. Add define for ThreadStackHelper pseudostack support; r=snorp 2014-07-28 13:30:20 -04:00
Jim Chen
37f59a5f25 Bug 1016629 - b. Use RAII class to assign mStackToFill; r=snorp 2014-07-28 13:30:20 -04:00
Carsten "Tomcat" Book
92253e91c1 Backed out changeset 4e4358c01816 (bug 1016629) 2014-07-25 15:59:55 +02:00
Carsten "Tomcat" Book
a02e944081 Backed out changeset 3e869dd7e82a (bug 1016629) 2014-07-25 15:59:52 +02:00
Carsten "Tomcat" Book
be28caabab Backed out changeset 8d539315541d (bug 1016629) 2014-07-25 15:59:49 +02:00
Carsten "Tomcat" Book
12b71a1f0a Backed out changeset e008d505335a (bug 1016629) 2014-07-25 15:59:46 +02:00
Carsten "Tomcat" Book
a8027527b2 Backed out changeset 7cae21b839ad (bug 1016629) 2014-07-25 15:59:33 +02:00
Jim Chen
07a5dc2fb3 Bug 1016629 - g. Avoid ASan flag when copying stack; r=snorp 2014-07-24 22:33:49 -04:00
Jim Chen
afde51d782 Bug 1016629 - e. Implement platform-specific code for filling in context; r=snorp r=jseward 2014-07-24 22:33:47 -04:00
Jim Chen
2c80921a3c Bug 1016629 - d. Add and implement GetNativeStack method in ThreadStackHelper; r=snorp r=jseward 2014-07-24 22:33:46 -04:00
Jim Chen
d6557c2943 Bug 1016629 - c. Add define for ThreadStackHelper pseudostack support; r=snorp 2014-07-24 22:33:46 -04:00
Jim Chen
87b6c95f6c Bug 1016629 - b. Use RAII class to assign mStackToFill; r=snorp 2014-07-24 22:33:45 -04:00
Jim Chen
6f0011b522 Bug 1016441 - Switch to using real-time signal in ThreadStackHelper; r=snorp 2014-07-08 14:53:17 -04:00
Birunthan Mohanathas
2bf30da924 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Jim Chen
611181e256 Bug 1023461 - Record filename and line number for chrome JS entries; r=snorp 2014-06-20 14:28:10 -04:00
Jim Chen
da8e9d8b4f Bug 1023461 - Remove temporary stack buffer in ThreadStackHelper; r=snorp 2014-06-20 14:28:10 -04:00
Jim Chen
e9c92ac063 Bug 1013326 - Distinguish chrome and content scripts in pseudostack; r=snorp 2014-06-06 18:39:40 -04:00
Birunthan Mohanathas
c948872318 Bug 995730 - Convert xpcom/threads/ to Gecko style. r=froydnj
--HG--
extra : rebase_source : 1f6f179f44db87f55ebfe5d855192adfad7d1b74
2014-05-27 10:15:35 +03:00
Jim Chen
adaf5d0d6d Bug 985155 - Add signal trampoline on ARM Linux to work around kernel bug. r=snorp 2014-04-21 17:15:44 -04:00
Jim Chen
2ea1dd9b27 Bug 978262 - Ignore duplicate frames when getting BHR stack. r=froydnj 2014-03-05 08:47:46 -05:00
Jim Chen
c22078a28b Bug 951431 - Don't get stacks during profiler runs on Linux; r=BenWa 2014-01-14 10:33:32 -06:00
Jim Chen
753b53e693 Bug 946817 - Don't assert mPseudoStack on B2G. r=BenWa 2013-12-06 09:50:21 -05:00
Jan Beich
cba03f3ca4 Bug 942488 - Don't report pseudo-stacks without SPS profiler. r=nchen 2013-11-25 09:24:00 -05:00
Jim Chen
69096dfe3b Bug 935092 - Add ThreadStackHelper to get a thread's pesudo-stack; r=BenWa 2013-11-22 14:17:30 -05:00