mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 23:41:02 +08:00
af28b83eb7
In Chromium, the AnnotationList is registered in the main executable module. However, when using the component build, the individual shared libraries do not explicitly initialize the CrashpadInfo nor AnnotationList. This causes annotations to NULL-dereference the uninitialized AnnotationList when using the component build. By using the Register method instead, the AnnotationList will be lazily created. In Chromium's static/release build, the AnnotationList will still be initialized deterministically during startup. Bug: crashpad:192 Change-Id: I8599b52630f4d7608e5028b14264a8eed49a9176 Reviewed-on: https://chromium-review.googlesource.com/793981 Commit-Queue: Robert Sesek <rsesek@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>