diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-05-18 20:51:58 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-05-18 20:51:58 +0000 |
commit | d86d3361924a89d6c67ddbb3a2307af4008889ab (patch) | |
tree | 88b8c984fc3adcac1c4cec6cccc67cc5cf8a1268 /lib/CodeGen/CGDebugInfo.cpp | |
parent | d308e6201afd3a8a198c52ba034d35ed19d4bafe (diff) |
Debug info: Initialize runtime language field correctly for Objective-C
interface types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index c871b7bcd5..382b186648 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -519,7 +519,7 @@ llvm::DIType CGDebugInfo::CreateType(const ObjCInterfaceType *Ty, unsigned Line = PLoc.isInvalid() ? 0 : PLoc.getLine(); - unsigned RuntimeLang = DefUnit.getRunTimeVersion(); + unsigned RuntimeLang = DefUnit.getLanguage(); // To handle recursive interface, we // first generate a debug descriptor for the struct as a forward declaration. |