aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-11-02 02:06:20 +0000
committerGreg Clayton <gclayton@apple.com>2011-11-02 02:06:20 +0000
commit8b867b475ba7629663c01cb5bfa352c24124616f (patch)
tree577f577704e68564919db30ac17ec53be6de0f13 /llvm/lib/CodeGen/CodeGen.cpp
parent055c9708392b31ceb615c3fdfcbcb565f992f5b5 (diff)
downloadllvm-8b867b475ba7629663c01cb5bfa352c24124616f.zip
llvm-8b867b475ba7629663c01cb5bfa352c24124616f.tar.gz
llvm-8b867b475ba7629663c01cb5bfa352c24124616f.tar.bz2
<rdar://problem/10020849>
Fixed an issue where the DWARF might mention that a class has a constructor (default, copy or move), destructor, or an assignment operator (copy or move) and it might not have an actual implementation in your code. Then you try and use this struct or class in an expression and the JIT would ask for the address of these methods that were in the declaration, yet there are none. We now "do the right thing" for trivial ctors, dtors and assignment operators by telling the methods that they are are defaulted and trivial, and clang will then just do all of the work with builtins! llvm-svn: 143528
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions