From 7557b1a4df3fe293be058eaef10bd63943f3c043 Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Fri, 6 Mar 2015 23:22:46 +0000 Subject: [PATCH] Add DIEInteger::setValue() method. dsymutil needs to 'patch' attribute values after creating them. Just add this trivial capability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231529 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/DIE.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/CodeGen/DIE.h b/include/llvm/CodeGen/DIE.h index 88b26d72854..7803898a8d4 100644 --- a/include/llvm/CodeGen/DIE.h +++ b/include/llvm/CodeGen/DIE.h @@ -278,6 +278,7 @@ public: void EmitValue(const AsmPrinter *AP, dwarf::Form Form) const override; uint64_t getValue() const { return Integer; } + void setValue(uint64_t Val) { Integer = Val; } /// SizeOf - Determine size of integer value in bytes. ///