diff options
author | Greg Clayton <gclayton@apple.com> | 2010-10-10 20:52:20 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-10-10 20:52:20 +0000 |
commit | 6d7e77b9dc56fae433ac8ab2a73677ca257d92b3 (patch) | |
tree | 3829dbb0883719c8bbe40a7ea59d337e91b3f3a5 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 493b526bf71221e5fa94f82625bcffa8dcb78c1f (diff) | |
download | llvm-6d7e77b9dc56fae433ac8ab2a73677ca257d92b3.zip llvm-6d7e77b9dc56fae433ac8ab2a73677ca257d92b3.tar.gz llvm-6d7e77b9dc56fae433ac8ab2a73677ca257d92b3.tar.bz2 |
Added new options to memory read to allow saving memory to disk
as binary bytes or as an ASCII text dump.
- The output file is specified with the "--outfile FILE" option.
- The memory can be appended to an existing file using the "--append" option.
- The memory will be written as an ASCII text dump by default, or as
binary with the "--binary" option.
Added new options to memory write to allow writing all or part of
a file on disk to target memory:
- The input file is specified using the "--infile FILE" option
- The offset at which to start in the file defaults to zero, but
can be overridden using the "--offset OFFSET" option. If the
size is not specified, the remaining number of bytes in the file
will be used as the default byte size.
- The number of bytes to write defaults to the entire file byte
size, but can be changed with the "--size COUNT" option.
llvm-svn: 116172
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions