Manuel Klimek
2147506d8b
Changes the JSON parser to use the SourceMgr.
...
Diagnostics are now emitted via the SourceMgr and we use MemoryBuffer
for buffer management. Switched the code to make use of the trailing
'0' that MemoryBuffer guarantees where it makes sense.
llvm-svn: 147063
2011-12-21 18:16:39 +00:00
Manuel Klimek
8c643f1ae2
Fixing option for JSON benchmark broken since the change to size_t.
...
llvm-svn: 146970
2011-12-20 10:34:29 +00:00
Manuel Klimek
6e33b2fd7d
Allow for benchmarking more than 4GB of memory
...
llvm-svn: 146864
2011-12-19 09:56:35 +00:00
Manuel Klimek
99a78498c5
Adds a flag to allow specifying the memory limitations of the JSON benchmark.
...
llvm-svn: 146863
2011-12-19 09:32:05 +00:00
Manuel Klimek
2f7cf4e64b
Adds a JSON parser and a benchmark (json-bench) to catch performance regressions.
...
llvm-svn: 146735
2011-12-16 13:09:10 +00:00