]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC Clang debug info crash fix
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 30 Sep 2014 15:10:40 +0000 (15:10 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 30 Sep 2014 15:10:40 +0000 (15:10 +0000)
commit42b1055a08607b521bf0445fde05be891d1e26f0
tree71514388e37567d84c9131d0dedcdaba3d438625
parent275ca8be1abebccc0619401ccc5f175d9e0e747e
MFC Clang debug info crash fix

271282: Merge Clang debug info crash fix rev 200797:

    Debug info: fix a crasher when when emitting debug info for
    not-yet-completed templated types. getTypeSize() needs a complete type.

    rdar://problem/15931354

271283: Add clang patch for r271282

  Note that r271282 contains only the src change from Clang rev 200797.
  This patch file includes two follow-on changes to the test case, which
  do not apply to the copy in the FreeBSD tree.

  Upstream Clang revisions:

  200797:

    Debug info: fix a crasher when when emitting debug info for
    not-yet-completed templated types. getTypeSize() needs a complete type.

    rdar://problem/15931354

  200798:

    Simplify testcase from r200797 some more.

  200805:

    Further simplify r200797 and add an explanatory comment.

PR: 193347

git-svn-id: svn://svn.freebsd.org/base/stable/9@272304 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/patches/patch-r271282-clang-r200797-r200798-r200805-debug-info-crash.diff [new file with mode: 0644]
contrib/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp