[Mlir-commits] [mlir] [mlir] Add support for DIGlobalVariable and DIGlobalVariableExpression (PR #73367)
Tobias Gysi
llvmlistbot at llvm.org
Thu Nov 30 23:46:52 PST 2023
================
@@ -17,11 +17,23 @@
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/BinaryFormat/Dwarf.h"
+#include "llvm/IR/DebugInfoMetadata.h"
#include <optional>
using namespace mlir;
using namespace mlir::LLVM;
+/// Parse DWARF expression arguments with respect to the DWARF operation
+/// opcode. Some DWARF expression operations have a specific number of operands
+/// and may appear in a textual form.
+static LogicalResult parseExpressionArg(AsmParser &parser, uint64_t opcode,
+ SmallVector<uint64_t> &args);
+
+/// Print DWARF expression arguments with respect to the specific DWARF
----------------
gysit wrote:
```suggestion
/// Prints DWARF expression arguments with respect to the specific DWARF
```
ultra nit:
https://github.com/llvm/llvm-project/pull/73367
More information about the Mlir-commits
mailing list