]> granicus.if.org Git - clang/commit
Module Debugging: Emit the canonical debug info for Objective-C classes
authorAdrian Prantl <aprantl@apple.com>
Wed, 20 Apr 2016 23:59:32 +0000 (23:59 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 20 Apr 2016 23:59:32 +0000 (23:59 +0000)
commit29dbb7b2421c7631bf4e86948c3536700e2ca447
treeb1f08caf52c33fffab4033eff267e3bfb5e795e4
parente3eeb614011658cb419896e61d0d3610b0a1de16
Module Debugging: Emit the canonical debug info for Objective-C classes
in the compile unit that contains their implementation even if their
interface is declared in a module.

The private @implementation of an @interface may have additional
hidden ivars so we should not defer to the public version of the
type that is found in the module.

<rdar://problem/25541798>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266937 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/Modules/ExtDebugInfo.m
test/Modules/Inputs/DebugObjC.h
test/Modules/ModuleDebugInfo.m