diff options
author | Manuel Klimek <klimek@google.com> | 2013-02-05 15:52:21 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-02-05 15:52:21 +0000 |
commit | 65bdeae121db423d7e33c158229ec2e9a70f0c4c (patch) | |
tree | 5a77f1a4263373ffb34e6c8743b8177b7c396c61 /compiler-rt/lib/interception/mach_override/mach_override.h | |
parent | 2c6cf8e2c7d659e7c3a2332b13cba6b1f1baacac (diff) | |
download | bcm5719-llvm-65bdeae121db423d7e33c158229ec2e9a70f0c4c.tar.gz bcm5719-llvm-65bdeae121db423d7e33c158229ec2e9a70f0c4c.zip |
Adds JSON output for replacements, to simplify tools integration.
Using -output-replacements will now output the replacements instead
of the changed code. This allows easier integration with tools that
need full control over what changed.
The format is an array of objects with the members "offset" (number),
"length" (number) and "replacement_text" (string), for example:
[
{
"offset": 42,
"length": 5,
"replacement_text": " "
},
{
"offset": 105,
"length": 4,
"replacement_text": ""
}
]
llvm-svn: 174382
Diffstat (limited to 'compiler-rt/lib/interception/mach_override/mach_override.h')
0 files changed, 0 insertions, 0 deletions