]> granicus.if.org Git - clang/commit
Revert r331843 "[DebugInfo] Generate debug information for labels."
authorHans Wennborg <hans@hanshq.net>
Wed, 9 May 2018 09:29:58 +0000 (09:29 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 9 May 2018 09:29:58 +0000 (09:29 +0000)
commit308bae98df4927b4935b1c1427982fcadb181fba
tree3b3ffee519bb12db17013b32db936acc54998118
parentccafdf4893732aa5d98e41efa3643034b8932c5d
Revert r331843 "[DebugInfo] Generate debug information for labels."

It broke the Chromium build (see reply on the review).

> Generate DILabel metadata and call llvm.dbg.label after label
> statement to associate the metadata with the label.
>
> Differential Revision: https://reviews.llvm.org/D45045
>
> Patch by Hsiangkai Wang.

This doesn't revert the change to backend-unsupported-error.ll
that seems to correspond to an llvm-side change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331861 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
lib/CodeGen/CGStmt.cpp
test/CodeGen/debug-label-inline.c [deleted file]
test/CodeGen/debug-label.c [deleted file]