This is an archive of the discontinued LLVM Phabricator instance.

[Assembler] Add a pointer to the inline assembly SourceMgr in MCContext.
AbandonedPublic

Authored by sanwou01 on Feb 1 2017, 11:46 AM.

Details

Summary

This allows for proper error messages through the inline assembly
SourceMgr. The AsmPrinter's life time includes the MCContext's life
time.

Event Timeline

sanwou01 created this revision.Feb 1 2017, 11:46 AM
rnk edited edge metadata.Feb 1 2017, 1:48 PM

These patches are too small and hard to justify in isolation. Each submitted patch should implement a small, testable unit of functionality.

sanwou01 abandoned this revision.Feb 8 2017, 1:49 AM

Ready to land as D29441.