I don't know how to add tests for this. I tested locally with a minidump, a pdb
and the executable.
Before this change, the following comand fail to give symbol information for
backtrace because the m_comp_units in m_index->compilands() was always
empty, changed to use GetCompileUnitAtIndex to create CU when failed to find
one at given index.
lldb -O 'target create GoogleDriveFS.exe --core GoogleDriveFS.dmp' -o 'target symbols add GoogleDriveFS.pdb' -o 'bt'
Could this be moved into the above if block?