DebugInfo: Use sugared function type when emitting function declarations for call...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 28 Sep 2021 02:33:37 +0000 (19:33 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 28 Sep 2021 17:44:35 +0000 (10:44 -0700)
commit85f612efeb352e759f120ee183bf31b1fd7e801a
tree49e37a7539567affd14e673a50471778b12567d5
parentab5e6e7434ebc67e89332d4401926978c8fb143b
DebugInfo: Use sugared function type when emitting function declarations for call sites

Otherwise we're losing type information for these functions.
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGDebugInfo.h
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/test/CodeGen/debug-info-extern-call.c