summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-01-09 17:26:06 +0000
committerPavel Labath <labath@google.com>2018-01-09 17:26:06 +0000
commit9aaf5d3e717e14d0a06fd6598c988537791e55b9 (patch)
tree3d93df7c89be1ab3877e63137e396807779622fc /llvm/lib/CodeGen/MachineInstr.cpp
parent40bab3755112a37df15c4fbc8b9664366cd86ec0 (diff)
downloadbcm5719-llvm-9aaf5d3e717e14d0a06fd6598c988537791e55b9.tar.gz
bcm5719-llvm-9aaf5d3e717e14d0a06fd6598c988537791e55b9.zip
[Support] Add WritableMemoryBuffer::getNewMemBuffer
Summary: The idea is that it would replace (non-Writable)MemoryBuffer::getNewMemBuffer, which is quite useless unless you const_cast its contents to write to it (which all (both) callers of this function were doing). This patch also fixes one of the usages in COFFWriter. After fixing the other usage in clang, I plan to delete the old function. Reviewers: dblaikie, Bigcheese Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D41540 llvm-svn: 322094
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud