llvm-6502/lib
Richard Smith 30f57da439 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166530 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-24 00:30:41 +00:00
..
Analysis Ignore unreachable blocks when doing memory dependence analysis on non-local 2012-10-23 18:37:11 +00:00
Archive Mark checkSignature const, and in turn stop casting away const from 2012-09-05 22:09:23 +00:00
AsmParser Add the "ForceSizeOpt" attribute. 2012-10-22 17:33:31 +00:00
Bitcode Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change. 2012-10-15 20:35:56 +00:00
CodeGen Clean up code and put transformation on (build_vec (ext x)) into a helper func 2012-10-23 23:06:52 +00:00
DebugInfo Use a typedef to reduce some typing and reformat code accordingly. 2012-10-16 23:46:25 +00:00
ExecutionEngine Grammar. 2012-10-23 17:19:15 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC Make branch heavy code for generating marked up disassembly simpler 2012-10-23 22:52:52 +00:00
Object Cosmetic changes 2012-10-10 01:45:52 +00:00
Support Support: Don't remove special files on signals. 2012-10-17 16:30:54 +00:00
TableGen tblgen: Compile TableGen without RTTI. 2012-10-10 20:27:18 +00:00
Target [ms-inline asm] Offset operator - the size should be based on the size of a 2012-10-23 23:42:06 +00:00
Transforms Use the AliasAnalysis isIdentifiedObj because it also understands mallocs and c++ news. 2012-10-23 18:44:18 +00:00
VMCore Fix ODR violations: a virtual function must be defined, even if it's never 2012-10-24 00:30:41 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile