mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-10 17:26:28 +00:00
namespace implementations of FileID
In trying to create a backend service that can process both ELF and Mach-O binaries, I found that symbol collisions occur when trying to link different implementations of FileID. This change puts the different implementations into separate namespaces to avoid the collision. Change-Id: I15aabb222803f2ffbda15ed13e66793bae32ddce Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3421417 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
@@ -62,6 +62,8 @@ using MacStringUtils::IntegerValueAtIndex;
|
||||
|
||||
namespace google_breakpad {
|
||||
|
||||
using mach_o::FileID;
|
||||
|
||||
#if defined(__LP64__) && __LP64__
|
||||
#define LC_SEGMENT_ARCH LC_SEGMENT_64
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user