llvm-6502/lib/VMCore
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
..
AsmWriter.cpp Use method to query for attributes. 2012-10-04 06:58:52 +00:00
Attributes.cpp Add the "ForceSizeOpt" attribute. 2012-10-22 17:33:31 +00:00
AttributesImpl.h Have AttributesImpl defriend the Attributes class. 2012-10-16 05:57:28 +00:00
AutoUpgrade.cpp Attributes Rewrite 2012-10-15 04:46:55 +00:00
BasicBlock.cpp Add a constified getLandingPad() method. 2012-01-31 00:26:24 +00:00
CMakeLists.txt Reapply the TargerTransformInfo changes, minus the changes to LSR and Lowerinvoke. 2012-10-18 23:22:48 +00:00
ConstantFold.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
ConstantFold.h Convert ConstantFoldGetElementPtr to use ArrayRef. 2011-07-19 15:30:30 +00:00
Constants.cpp Fixed few warnings; trimmed empty lines. 2012-07-13 01:25:27 +00:00
ConstantsContext.h Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments. 2012-09-15 17:09:36 +00:00
Core.cpp 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
DataLayout.cpp DataLayout should use itself when calculating the size of a vector. 2012-10-21 20:38:03 +00:00
DebugInfo.cpp Fix PR14016. 2012-10-09 08:13:15 +00:00
DebugLoc.cpp Pull the simple parts of DenseMapInfo<DebugLoc> inline and prune includes. 2012-07-19 15:00:34 +00:00
DIBuilder.cpp Make sure to generate the right kind of MDNode for enum forward declarations. 2012-10-05 01:49:14 +00:00
Dominators.cpp Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
Function.cpp Attributes Rewrite 2012-10-15 04:46:55 +00:00
GCOV.cpp Don't do actual work inside an assert statement. Fixes PR11760! 2012-09-23 03:58:21 +00:00
Globals.cpp Clean-up after r159077. 2012-06-23 12:14:23 +00:00
GVMaterializer.cpp
InlineAsm.cpp [ms-inline asm] Enumerate the InlineAsm dialects and rename the nsdialect to 2012-09-05 19:00:49 +00:00
Instruction.cpp Refactor operation equivalence checking in BBVectorize by extending Instruction::isSameOperationAs. 2012-06-28 05:42:26 +00:00
Instructions.cpp Add an enum for the return and function indexes into the AttrListPtr object. This gets rid of some magic numbers. 2012-10-15 07:29:08 +00:00
IntrinsicInst.cpp warmup ritual: use high-level argument accessors 2010-06-22 19:46:37 +00:00
IRBuilder.cpp Add IRBuilder code for adding !tbaa.struct metadata tags to llvm.memcpy calls. 2012-09-26 22:17:14 +00:00
LeakDetector.cpp Merge System into Support. 2010-11-29 18:16:10 +00:00
LeaksContext.h
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
LLVMContext.cpp Define an official slot for the new !tbaa.struct metadata tag. 2012-09-13 17:56:17 +00:00
LLVMContextImpl.cpp Fix use after free when deleting attributes in a chained folding set. 2012-10-14 08:48:40 +00:00
LLVMContextImpl.h Move the AttributesImpl header file into the VMCore directory so that it can be opaque. 2012-10-15 05:40:12 +00:00
Makefile Revert r165652: "Remove unnecessary RTTI from the build." 2012-10-10 20:50:36 +00:00
Metadata.cpp Typo. 2012-08-14 01:09:10 +00:00
Module.cpp Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
Pass.cpp Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
PassManager.cpp Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
PassRegistry.cpp Cosmetic changes, as per Nick's review. 2011-09-29 16:46:47 +00:00
PrintModulePass.cpp Now with fewer extraneous semicolons! 2010-10-07 22:25:06 +00:00
SymbolTableListTraitsImpl.h
TargetTransformInfo.cpp Add a comment which explains why the assert fired and how to fix it. 2012-10-23 04:35:40 +00:00
Type.cpp Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
TypeFinder.cpp Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
Use.cpp Add missing include of <new> 2012-03-26 14:04:17 +00:00
User.cpp Fix ODR violations: a virtual function must be defined, even if it's never 2012-10-24 00:30:41 +00:00
Value.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
ValueSymbolTable.cpp eliminate the Type::getDescription() method, using "<<" instead. This 2011-06-18 21:18:23 +00:00
ValueTypes.cpp Replace calls to getSizeInBits with getExtendedSizeInBits since its already known its an extended type. 2012-09-26 07:11:42 +00:00
Verifier.cpp Revert r166157 because some tests fail... 2012-10-17 23:56:05 +00:00