]> granicus.if.org Git - clang/commit
Debug info: use the file a typedef is defined in as its decl_file instead
authorAdrian Prantl <aprantl@apple.com>
Tue, 21 Jan 2014 18:20:52 +0000 (18:20 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 21 Jan 2014 18:20:52 +0000 (18:20 +0000)
commit5f7dfbf84a9b8c55b1f372b8d41adb7d8e8ebff9
tree7559b877bdaa9e24014ddcb616db2834ce3608bf
parent1b35da0f2f19184147eb892cc860f996879180bd
Debug info: use the file a typedef is defined in as its decl_file instead
of the current compilation unit.
As a side effect this enables many more LTO uniquing opportunities.

rdar://problem/15851206

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199757 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGen/debug-info-typedef.c [new file with mode: 0644]
test/CodeGen/debug-info-typedef.h [new file with mode: 0644]