diff options
| author | Sean Callanan <scallanan@apple.com> | 2015-07-08 18:03:41 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2015-07-08 18:03:41 +0000 |
| commit | 83b8ad0eaa7926c243e799b6166d285614e4e2d0 (patch) | |
| tree | f105fc1201e3bfc3b4d2279a68bf6d92df352ca0 /llvm/lib/Object/SymbolicFile.cpp | |
| parent | e086afa66789f3072da5651bc09a6f1963a55686 (diff) | |
| download | llvm-83b8ad0eaa7926c243e799b6166d285614e4e2d0.zip llvm-83b8ad0eaa7926c243e799b6166d285614e4e2d0.tar.gz llvm-83b8ad0eaa7926c243e799b6166d285614e4e2d0.tar.bz2 | |
Fixed a serious bug in DeportType where the types could retain DeclContexts that
pointed into the artificial function constructed for the expression. I now make
anything that pointed to the function as its DeclContext be global while the
copy occurs; afterward I restored the old DeclContext.
Added a testcase that make sure that this works properly and doesn't crash
anything.
<rdar://problem/21049838>
llvm-svn: 241695
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions
