diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-11-05 21:50:22 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-11-05 21:50:22 +0000 |
commit | 1839abdabe24a8a5211e21c71769253d5cf69d1d (patch) | |
tree | a46fffb7480afbed264a094cb75022ab6d33ae8e /lldb/source/Plugins/Process/Windows/ProcessWindows.h | |
parent | e727f57d37cf6a0800dc2becc93bf9e0b88b5b03 (diff) | |
download | bcm5719-llvm-1839abdabe24a8a5211e21c71769253d5cf69d1d.tar.gz bcm5719-llvm-1839abdabe24a8a5211e21c71769253d5cf69d1d.zip |
This patch fixes a crash after rebuilding call AST of
an __unknown_anytype(...). In this case, we rebuild the
vararg function type specially to convert the call expression
to something that IRGen can handle. However, FunctionDecl
as rebuilt in RebuildUnknownAnyExpr::resolveDecl is bogus and
results in crash when accessing its params later on. This
patch fixes the crash by rebuilding the FunctionDecl to match
its new resolved type. rdar://15297105.
John McCall, please review post-commit.
llvm-svn: 221404
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/ProcessWindows.h')
0 files changed, 0 insertions, 0 deletions