summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineTraceMetrics.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-08-30 18:15:10 +0000
committerGreg Clayton <gclayton@apple.com>2012-08-30 18:15:10 +0000
commit0b0b512fd6eaa15626d0b1caad24ae66a79e8408 (patch)
treeec79472f787c96799b79d9d0556c20bf7e477278 /llvm/lib/CodeGen/MachineTraceMetrics.h
parent738ea2590ffde414777efe26bffd27d97f5cc351 (diff)
downloadbcm5719-llvm-0b0b512fd6eaa15626d0b1caad24ae66a79e8408.tar.gz
bcm5719-llvm-0b0b512fd6eaa15626d0b1caad24ae66a79e8408.zip
OptionValueFileSpec had an accessor to read the contents of the file and return the data. This can end up being used to get the string contents of a text file and could end up not being NULL terminated. I added accessors to get the file contents raw, or with a null terminator. Added the needed calls to make this happen in the FileSpec and File classes.
llvm-svn: 162921
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud