]> granicus.if.org Git - clang/commit
Revert r369458 "[DebugInfo] Add debug location to dynamic atexit destructor"
authorHans Wennborg <hans@hanshq.net>
Thu, 22 Aug 2019 09:07:25 +0000 (09:07 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 22 Aug 2019 09:07:25 +0000 (09:07 +0000)
commit91ea65af1a4cb1a62ea08a2bc6da7300a4671db7
treea81d42d81d999e410a5057ec57b1cb4485b147ca
parentc73c63173e6f657bd5ebe6fc87c4e362e31cbd7e
Revert r369458 "[DebugInfo] Add debug location to dynamic atexit destructor"

It causes the build to fail with

"inlinable function call in a function with debug info must have a !dbg location"

in Chromium. See llvm-commits thread for more info.

(This also reverts the follow-up in r369474.)

> Fixes PR43012
>
> Differential Revision: https://reviews.llvm.org/D66328

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369633 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDeclCXX.cpp
test/CodeGenCXX/debug-info-atexit-stub.cpp [deleted file]
test/CodeGenCXX/debug-info-global-ctor-dtor.cpp