]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC Clang debug info crash fix
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Sep 2014 01:53:55 +0000 (01:53 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Sep 2014 01:53:55 +0000 (01:53 +0000)
commit8f3af4318a3b5606c01e6b8df06b458f0a73993d
treeb7a07adca4d96eb4216bb92429c8629342625eb3
parent97d4c0ddfd5d84f97362e879add8ec16b5c90340
MFC Clang debug info crash fix

r271282: 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

r271283: 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
Approved by: re
Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@271414 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