]> granicus.if.org Git - clang/commit
Fix for PR33930. Short-circuit metadata mapping when cloning a varargs thunk.
authorWolfgang Pieb <Wolfgang.Pieb@sony.com>
Tue, 31 Oct 2017 22:49:48 +0000 (22:49 +0000)
committerWolfgang Pieb <Wolfgang.Pieb@sony.com>
Tue, 31 Oct 2017 22:49:48 +0000 (22:49 +0000)
commita9fba7b0ec1b2384f171950089021fadec7da08b
tree4ec246a192bb619f8b8b615ea2b28e054f6e0830
parent746fd88cc65883572b7602dc7b1f9e74462fd451
Fix for PR33930. Short-circuit metadata mapping when cloning a varargs thunk.
The cloning happens before all metadata nodes are resolved. Prevent the value
mapper from running into unresolved or temporary MD nodes.

Differential Revision: https://reviews.llvm.org/D39396

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317047 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGVTables.cpp
test/CodeGenCXX/tmp-md-nodes1.cpp [new file with mode: 0644]
test/CodeGenCXX/tmp-md-nodes2.cpp [new file with mode: 0644]