diff options
Diffstat (limited to 'include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h')
| -rw-r--r-- | include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h b/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h index 135c50761e36..bfe2fc3ac02d 100644 --- a/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h +++ b/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h @@ -53,6 +53,9 @@ public: /// Parse the debug_macinfo section accessible via the 'data' parameter. void parse(DataExtractor data); + + /// Return whether the section has any entries. + bool empty() const { return Macros.empty(); } }; } // end namespace llvm |
