Debug info: Refactor NoLocation and ArtificialLocation to use a common base
class and use it pervasively to restore debug locations. Fixes an interaction between cleanup and EH that caused the location to not be restored properly after emitting a landing pad. rdar://problem/15208190 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199444 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGCleanup.cpp 3 additions, 1 deletionlib/CodeGen/CGCleanup.cpp
- lib/CodeGen/CGDebugInfo.cpp 16 additions, 13 deletionslib/CodeGen/CGDebugInfo.cpp
- lib/CodeGen/CGDebugInfo.h 18 additions, 11 deletionslib/CodeGen/CGDebugInfo.h
- lib/CodeGen/CGException.cpp 2 additions, 6 deletionslib/CodeGen/CGException.cpp
- test/CodeGenCXX/linetable-eh.cpp 43 additions, 0 deletionstest/CodeGenCXX/linetable-eh.cpp
Loading
Please register or sign in to comment