aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2015-09-14 11:18:03 +0000
committerSimon Atanasyan <simon@atanasyan.com>2015-09-14 11:18:03 +0000
commit4d45c7689586f9cd1fbcbf2f21371e558ea57ae7 (patch)
treeca96a9290274c3a311c522863bda2eca90bf2dc4 /clang/lib/CodeGen/CodeGenModule.cpp
parente114dc024ea8f64cbd79772a3691ba5a8dfe839f (diff)
downloadllvm-4d45c7689586f9cd1fbcbf2f21371e558ea57ae7.zip
llvm-4d45c7689586f9cd1fbcbf2f21371e558ea57ae7.tar.gz
llvm-4d45c7689586f9cd1fbcbf2f21371e558ea57ae7.tar.bz2
[mips] Save a copy of MipsABIInfo in the MipsTargetStreamer to escape a dangling pointer
The MipsTargetELFStreamer can receive ABI info from many sources. For example, from the MipsAsmParser instance. Lifetime of the MipsAsmParser can be shorter than MipsTargetELFStreamer's lifetime. In that case we get a dangling pointer to MipsABIInfo. Differential Revision: http://reviews.llvm.org/D12805 llvm-svn: 247546
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions