aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-10-24 00:30:41 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-10-24 00:30:41 +0000
commit1f6f455f7cff444f663dbe5d844fe0a8548a083c (patch)
tree8c44f6cca2f037d947253d6d82560397d10982e6 /lldb/source/Commands/CommandObjectProcess.cpp
parent1bbd143945ee57c30870cd452e0755dad54ec525 (diff)
downloadllvm-1f6f455f7cff444f663dbe5d844fe0a8548a083c.zip
llvm-1f6f455f7cff444f663dbe5d844fe0a8548a083c.tar.gz
llvm-1f6f455f7cff444f663dbe5d844fe0a8548a083c.tar.bz2
Fix ODR violations: a virtual function must be defined, even if it's never
called. Provide an (asserting) definition of Operator's private destructor. Remove destructors from all classes derived from Operator. We don't need them for safety, because their implicit definitions would be ill-formed (they'd call Operator's private destructor), and we don't need them to avoid emitting vtables, because we don't do anything with Operator subclasses which would trigger vtable instantiation. The Operator hierarchy is still a complete disaster with regard to undefined behavior, but this at least allows LLVM to link when using Clang's -fcatch-undefined-behavior with a new vptr-based type checking mechanism. llvm-svn: 166530
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions