diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-08-25 22:13:27 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-08-25 22:13:27 +0000 |
| commit | 5db8b3138f36e11bca835881e81cc56bbd7b4fa4 (patch) | |
| tree | e4d39d30341b67907d22a0cbf1d1404543ca3af9 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 6db9088fc496acfc365485178d4712aba41c61ee (diff) | |
| download | clang-5db8b3138f36e11bca835881e81cc56bbd7b4fa4.tar.gz clang-5db8b3138f36e11bca835881e81cc56bbd7b4fa4.tar.bz2 clang-5db8b3138f36e11bca835881e81cc56bbd7b4fa4.tar.xz | |
DebugInfo: Emit info for casted decls in template args
Summary:
Previously the backend wouldn't get to see the underlying GlobalValue
that corresponds to the template argument because it would be hidden by
a cast at the IR level. Instead strip the pointer casts off of the
value until we see the underlying GlobalValue.
Reviewers: dblaikie, echristo, majnemer
Reviewed By: majnemer
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1508
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
