Keep a vector of LocInfos around; one for each call to EmitInlineAsm.
Since each call to EmitInlineAsm creates a new buffer in the inline asm
SourceMgr, we can use the buffer number to map to the right LocInfo.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3823 Build 3823: arc lint + arc unit
Event Timeline
Comment Actions
Unfortunately, there is no consumer of LocInfos or LocCookies in besides clang, which is why a test is missing. I'll upload a patch (test only) for clang separately.