aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/dwarf_cfi_to_module.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/linux/dwarf_cfi_to_module.cc')
-rw-r--r--src/common/linux/dwarf_cfi_to_module.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/common/linux/dwarf_cfi_to_module.cc b/src/common/linux/dwarf_cfi_to_module.cc
index d7946a0e..603acc0e 100644
--- a/src/common/linux/dwarf_cfi_to_module.cc
+++ b/src/common/linux/dwarf_cfi_to_module.cc
@@ -46,12 +46,10 @@ bool DwarfCFIToModule::Entry(size_t offset, uint64 address, uint64 length,
uint8 version, const string &augmentation,
unsigned return_address) {
assert(!entry_);
- // The latest CFI format version we understand is version 3.
- if (version > 3)
- return false;
- // We only handle non-augmented DWARF unwinding data at the moment.
- if (!augmentation.empty())
- return false;
+
+ // If dwarf2reader::CallFrameInfo can handle this version and
+ // augmentation, then we should be okay with that, so there's no
+ // need to check them here.
// Get ready to collect entries.
entry_ = new Module::StackFrameEntry;