Add the loop end location to the loop metadata. This additional information
can be used to improve the locations when generating remarks for loops. Depends on the companion LLVM change r286227. Patch by Florian Hahn. Differential Revision: https://reviews.llvm.org/D25764 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286456 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGDebugInfo.cpp 9 additions, 0 deletionslib/CodeGen/CGDebugInfo.cpp
- lib/CodeGen/CGDebugInfo.h 3 additions, 0 deletionslib/CodeGen/CGDebugInfo.h
- lib/CodeGen/CGLoopInfo.cpp 17 additions, 11 deletionslib/CodeGen/CGLoopInfo.cpp
- lib/CodeGen/CGLoopInfo.h 5 additions, 5 deletionslib/CodeGen/CGLoopInfo.h
- lib/CodeGen/CGStmt.cpp 14 additions, 8 deletionslib/CodeGen/CGStmt.cpp
- lib/CodeGen/CGStmtOpenMP.cpp 6 additions, 2 deletionslib/CodeGen/CGStmtOpenMP.cpp
- lib/CodeGen/CodeGenFunction.cpp 7 additions, 0 deletionslib/CodeGen/CodeGenFunction.cpp
- lib/CodeGen/CodeGenFunction.h 4 additions, 0 deletionslib/CodeGen/CodeGenFunction.h
- test/CodeGenCXX/debug-info-line-if.cpp 12 additions, 8 deletionstest/CodeGenCXX/debug-info-line-if.cpp
- test/CodeGenCXX/debug-info-loops.cpp 49 additions, 0 deletionstest/CodeGenCXX/debug-info-loops.cpp
Loading
Please register or sign in to comment