diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-27 04:33:58 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-27 04:33:58 +0000 |
commit | 5ebb7b311223bcd21d2b3d25413d1edacefcc63d (patch) | |
tree | acd3732ac3d49c105b8fd588f2f46603f4993d2e /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 493f91b6dedaf5dfb636b10dc30eb2b0d8cb2ff4 (diff) | |
download | llvm-5ebb7b311223bcd21d2b3d25413d1edacefcc63d.zip llvm-5ebb7b311223bcd21d2b3d25413d1edacefcc63d.tar.gz llvm-5ebb7b311223bcd21d2b3d25413d1edacefcc63d.tar.bz2 |
ParseIR: don't take ownership of the MemoryBuffer
clang was needlessly duplicating whole memory buffer contents in an attempt to
satisfy unclear ownership semantics. Let's just hide internal LLVM quirks and
present a simple non-owning interface.
The public C API preserves previous behaviour for stability.
llvm-svn: 211861
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions