aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/thunk-use-after-free.cpp
AgeCommit message (Collapse)Author
2012-03-20Fix a use-after-free in thunk emission. EmitThunk may call RAUW on Init, ↵Benjamin Kramer
invalidating the pointer. Fixes PR12284. The test case only triggered under asan/valgrind, but it's better than nothing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153120 91177308-0d34-0410-b5e6-96231b3b80d8