From: Frederic Riss Date: Fri, 6 Mar 2015 23:22:46 +0000 (+0000) Subject: Add DIEInteger::setValue() method. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7557b1a4df3fe293be058eaef10bd63943f3c043;p=oota-llvm.git 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 --- 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. ///