aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-03-20 09:43:20 +0000
committerPavel Labath <labath@google.com>2015-03-20 09:43:20 +0000
commit8ac06996bf6e602888692df1836eeec02966db16 (patch)
tree82d7c0738411b864f679e09f333b382741b9094f /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent0068cb2499653e8874c2a24d3efbb0b1c0871a91 (diff)
downloadllvm-8ac06996bf6e602888692df1836eeec02966db16.zip
llvm-8ac06996bf6e602888692df1836eeec02966db16.tar.gz
llvm-8ac06996bf6e602888692df1836eeec02966db16.tar.bz2
Support for truncate/append on log files
Summary: Presently, if a log file already exists, lldb simply starts overwriting bits of it, without truncating or anything. This patch makes it use eFileOptionFileTruncate by default. It also adds an --append option, which will append to the file without truncating. A test is included. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D8450 llvm-svn: 232801
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions