diff options
author | Sterling Augustine <saugustine@google.com> | 2020-07-24 14:11:05 -0700 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2020-07-24 21:34:14 +0000 |
commit | 7d65240249584aed1c123e286c8468a7d824e9d0 (patch) | |
tree | ea8c13528d67845901413fc59b8459dca9914afd /src/common/module.h | |
parent | Port new symbol API to symupload on Mac. (diff) | |
download | breakpad-7d65240249584aed1c123e286c8468a7d824e9d0.tar.xz |
Properly handle new tombstone values that now appear as a result of the llvm change described at https://reviews.llvm.org/D81784.
Change-Id: I79dc5a72b651aa057104cd42b4773391df68125b
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2317730
Reviewed-by: Mark Mentovai <mark@chromium.org>
Reviewed-by: Nelson Billing <nbilling@google.com>
Diffstat (limited to 'src/common/module.h')
-rw-r--r-- | src/common/module.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/module.h b/src/common/module.h index 60bf709b..408e620b 100644 --- a/src/common/module.h +++ b/src/common/module.h @@ -39,6 +39,7 @@ #define COMMON_LINUX_MODULE_H__ #include <iostream> +#include <limits> #include <map> #include <set> #include <string> @@ -62,6 +63,7 @@ class Module { public: // The type of addresses and sizes in a symbol table. typedef uint64_t Address; + static constexpr uint64_t kMaxAddress = std::numeric_limits<Address>::max(); struct File; struct Function; struct Line; |