Added a lit test that finds its corresponding crash log and checks to make sure it has asn output under Application Specific Information.
This required adding two python commands:
- get_pid_from_output: takes the output from the asan instrumentation and parses out the process ID
- print_crashreport_for_pid: takes in the pid of the process and the file name of the binary that was run and prints the contents of the corresponding crash log.
This test was added in preparation for changing the integration with crash reporter from the old api to the new api, which is implemented in a subsequent commit.
rdar://69767688
I don't think we need the inline keyword here. I don't think it really adds that much because:
I suggest we drop the inline keyword and add it in a separate patch if we discover there's a perf problem.