summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
index 616e32e6465..f86fcf33039 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
@@ -56,6 +56,10 @@ uptr SymbolizeCode(uptr address, AddressInfo *frames, uptr max_frames);
struct DWARFSection {
const char *data;
uptr size;
+ DWARFSection() {
+ data = 0;
+ size = 0;
+ }
};
// Returns true on success.
bool FindDWARFSection(uptr object_file_addr, const char *section_name,
OpenPOWER on IntegriCloud