From 246f4068280b5b191303ff13671e43a0522987de Mon Sep 17 00:00:00 2001 From: mmentovai Date: Fri, 20 Oct 2006 01:46:38 +0000 Subject: 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 --- src/processor/linked_ptr.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/processor/linked_ptr.h') 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(obj) vs linked_ptr(obj)). @@ -186,4 +188,6 @@ linked_ptr make_linked_ptr(T* ptr) { return linked_ptr(ptr); } -#endif // PROCESSOR_LINKED_PTR_H__ +} // namespace google_airbag + +#endif // PROCESSOR_LINKED_PTR_H__ -- cgit v1.2.1