
Add a parser for JSON crashlogs. The CrashLogParser now defers to either the JSONCrashLogParser or the TextCrashLogParser. It first tries to interpret the input as JSON, and if that fails falling back to the textual parser. Differential revision: https://reviews.llvm.org/D91130
9 lines
106 B
C
9 lines
106 B
C
void foo() {
|
|
int *i = 0;
|
|
*i = 1;
|
|
}
|
|
|
|
void bar() { foo(); }
|
|
|
|
int main(int argc, char **argv) { bar(); }
|