diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-09-19 22:15:52 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-09-19 22:15:52 +0000 |
commit | 88fae0edcce84920ba7c5685c36f6bd6cfb9b86d (patch) | |
tree | c1956347a81b84b10b8310d7dbc7e28443d33c05 /tools/lto | |
parent | 617305a0eb086f34a1005c8be2af3eea4a2a715d (diff) | |
download | external_llvm-88fae0edcce84920ba7c5685c36f6bd6cfb9b86d.zip external_llvm-88fae0edcce84920ba7c5685c36f6bd6cfb9b86d.tar.gz external_llvm-88fae0edcce84920ba7c5685c36f6bd6cfb9b86d.tar.bz2 |
Fix LTO handling of module-level assembly (PR14152).
Patch by Tom Roeder!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-rw-r--r-- | tools/lto/LTOModule.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp index 1a9d8f5..87e3573 100644 --- a/tools/lto/LTOModule.cpp +++ b/tools/lto/LTOModule.cpp @@ -792,6 +792,9 @@ namespace { const MCSymbol *Label, unsigned PointerSize) {} virtual void FinishImpl() {} + virtual void EmitCFIEndProcImpl(MCDwarfFrameInfo &Frame) { + RecordProcEnd(Frame); + } static bool classof(const MCStreamer *S) { return S->getKind() == SK_RecordStreamer; |