diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-20 01:46:38 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-20 01:46:38 +0000 |
commit | 246f4068280b5b191303ff13671e43a0522987de (patch) | |
tree | 9de2b66c7d8f0241de53669de045318d6283da7e /src/processor/linked_ptr.h | |
parent | Improvements for Windows client/tool-side code. r=bryner (diff) | |
download | breakpad-246f4068280b5b191303ff13671e43a0522987de.tar.xz |
Handle frame pointer omission, (#21), part 4 (final part!): FPO stackwalker.
r=bryner
- This change allows Airbag to properly walk win32 stacks produced by code
built with MSVC's frame pointer omission optimization (/Oy). This
optimization is enabled at /O1 and /O2.
- There too many interface and file format changes to list here.
http://groups.google.com/group/airbag-dev/browse_thread/thread/85ce85bfa8457ece
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@42 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/linked_ptr.h')
-rw-r--r-- | src/processor/linked_ptr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/processor/linked_ptr.h b/src/processor/linked_ptr.h index b4c2787c..c1277dc2 100644 --- a/src/processor/linked_ptr.h +++ b/src/processor/linked_ptr.h @@ -53,6 +53,8 @@ #ifndef PROCESSOR_LINKED_PTR_H__ #define PROCESSOR_LINKED_PTR_H__ +namespace google_airbag { + // This is used internally by all instances of linked_ptr<>. It needs to be // a non-template class because different types of linked_ptr<> can refer to // the same object (linked_ptr<Superclass>(obj) vs linked_ptr<Subclass>(obj)). @@ -186,4 +188,6 @@ linked_ptr<T> make_linked_ptr(T* ptr) { return linked_ptr<T>(ptr); } -#endif // PROCESSOR_LINKED_PTR_H__ +} // namespace google_airbag + +#endif // PROCESSOR_LINKED_PTR_H__ |