aboutsummaryrefslogtreecommitdiff
path: root/src/common/dwarf/dwarf2reader_test_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/dwarf/dwarf2reader_test_common.h')
-rw-r--r--src/common/dwarf/dwarf2reader_test_common.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/common/dwarf/dwarf2reader_test_common.h b/src/common/dwarf/dwarf2reader_test_common.h
index 545bc455..e91de906 100644
--- a/src/common/dwarf/dwarf2reader_test_common.h
+++ b/src/common/dwarf/dwarf2reader_test_common.h
@@ -80,14 +80,8 @@ class TestCompilationUnit: public google_breakpad::test_assembler::Section {
}
post_length_offset_ = Size();
D16(version);
- if (version <= 4) {
- SectionOffset(abbrev_offset);
- D8(address_size);
- } else {
- D8(0x01); // DW_UT_compile
- D8(address_size);
- SectionOffset(abbrev_offset);
- }
+ SectionOffset(abbrev_offset);
+ D8(address_size);
return *this;
}