The MCAsmParser assumes that the buffer it should parse is the one
containing the Main File. Generalize the AsmParser constructor to pass
in a buffer id.
The inline assembly uses a local buffer (which is the "main" buffer). The SLoc is tracked for where the inline assembly was instantiated for provenance. This seems conflicting with the description. Furthermore, a test case is absolutely needed.