diff options
Diffstat (limited to 'llvm/lib/Target/BPF/BTFDebug.h')
-rw-r--r-- | llvm/lib/Target/BPF/BTFDebug.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/BPF/BTFDebug.h b/llvm/lib/Target/BPF/BTFDebug.h index aa982babd458..7536006ed21c 100644 --- a/llvm/lib/Target/BPF/BTFDebug.h +++ b/llvm/lib/Target/BPF/BTFDebug.h @@ -16,11 +16,11 @@ #include "llvm/ADT/StringMap.h" #include "llvm/CodeGen/DebugHandlerBase.h" +#include "llvm/DebugInfo/BTF/BTF.h" #include <cstdint> #include <map> #include <set> #include <unordered_map> -#include "BTF.h" namespace llvm { @@ -338,6 +338,9 @@ class BTFDebug : public DebugHandlerBase { void visitMapDefType(const DIType *Ty, uint32_t &TypeId); /// @} + /// Check whether the type is a forward declaration candidate or not. + bool IsForwardDeclCandidate(const DIType *Base); + /// Get the file content for the subprogram. Certain lines of the file /// later may be put into string table and referenced by line info. std::string populateFileContent(const DISubprogram *SP); |