This patch adds a test for the core debug support functionality in D97335. It runs a program in lli that reads
its own __jit_debug_descriptor and dumps information about it. The test then checks that the output matches the expected
descriptor info.
For now it only tests Orc with JITLink in-process, but once debug support in lli got out of the teething phase this should be applicable for JITLink out-of-process and RuntimeDyld (and even MCJIT). I also expect the approach to be well suited for covering more complex scenarios (multiple translation units, lazy JITing, etc.) in the future.