]> granicus.if.org Git - clang/commit
Add the loop end location to the loop metadata. This additional information
authorAmara Emerson <amara.emerson@arm.com>
Thu, 10 Nov 2016 14:44:30 +0000 (14:44 +0000)
committerAmara Emerson <amara.emerson@arm.com>
Thu, 10 Nov 2016 14:44:30 +0000 (14:44 +0000)
commitba58685ce88db472f3774944435eb4948d762bb9
treea9fb7b7ae250f4dda4aca0ff816d82b9592d5268
parent2b83f5e6480cfde3d015a4d2a6a82cbd193b452b
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
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
lib/CodeGen/CGLoopInfo.cpp
lib/CodeGen/CGLoopInfo.h
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/debug-info-line-if.cpp
test/CodeGenCXX/debug-info-loops.cpp [new file with mode: 0644]