Manuel Klimek
25eb0ac418
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
860d978ef6
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
7582bbc67c
Allow for benchmarking more than 4GB of memory
...
llvm-svn: 146864
2011-12-19 09:56:35 +00:00
Manuel Klimek
51945952ce
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
2c899a181c
Adds a JSON parser and a benchmark (json-bench) to catch performance regressions.
...
llvm-svn: 146735
2011-12-16 13:09:10 +00:00