aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/dwarf/dwarf2reader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/dwarf/dwarf2reader.h b/src/common/dwarf/dwarf2reader.h
index 83cd6767..e405e3a7 100644
--- a/src/common/dwarf/dwarf2reader.h
+++ b/src/common/dwarf/dwarf2reader.h
@@ -178,9 +178,13 @@ class LineInfo {
// Convenience pointers into .debug_str and .debug_line_str. These exactly
// correspond to those in the compilation unit.
const uint8_t* string_buffer_;
+#ifndef NDEBUG
uint64_t string_buffer_length_;
+#endif
const uint8_t* line_string_buffer_;
+#ifndef NDEBUG
uint64_t line_string_buffer_length_;
+#endif
const uint8_t* after_header_;
};