projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f19fc8
)
Add DIEInteger::setValue() method.
author
Frederic Riss
<friss@apple.com>
Fri, 6 Mar 2015 23:22:46 +0000
(23:22 +0000)
committer
Frederic Riss
<friss@apple.com>
Fri, 6 Mar 2015 23:22:46 +0000
(23:22 +0000)
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
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/DIE.h
b/include/llvm/CodeGen/DIE.h
index 88b26d7285475d3bbd83cdec9f9fff1944525aaa..7803898a8d449824a510067884f85d91d4e87729 100644
(file)
--- 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.
///