1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 14:02:52 +02:00
llvm-mirror/lib/IR
Duncan P. N. Exon Smith 87c77233df DI: Disallow uniquable DICompileUnits
Since r241097, `DIBuilder` has only created distinct `DICompileUnit`s.
The backend is liable to start relying on that (if it hasn't already),
so make uniquable `DICompileUnit`s illegal and automatically upgrade old
bitcode.  This is a nice cleanup, since we can remove an unnecessary
`DenseSet` (and the associated uniquing info) from `LLVMContextImpl`.

Almost all the testcases were updated with this script:

    git grep -e '= !DICompileUnit' -l -- test |
    grep -v test/Bitcode |
    xargs sed -i '' -e 's,= !DICompileUnit,= distinct !DICompileUnit,'

I imagine something similar should work for out-of-tree testcases.

llvm-svn: 243885
2015-08-03 17:26:41 +00:00
..
AsmWriter.cpp DI: Remove DW_TAG_arg_variable and DW_TAG_auto_variable 2015-07-31 18:58:39 +00:00
AttributeImpl.h
Attributes.cpp De-constify pointers to Type since they can't be modified. NFC 2015-08-01 22:20:21 +00:00
AutoUpgrade.cpp Remove always-true comparison, NFC. 2015-07-03 20:12:01 +00:00
BasicBlock.cpp New EH representation for MSVC compatibility 2015-07-31 17:58:14 +00:00
CMakeLists.txt
Comdat.cpp
ConstantFold.cpp De-constify pointers to Type since they can't be modified. NFC 2015-08-01 22:20:21 +00:00
ConstantFold.h
ConstantRange.cpp
Constants.cpp De-constify pointers to Type since they can't be modified. NFC 2015-08-01 22:20:21 +00:00
ConstantsContext.h [opaque pointer type] Avoid using pointee types to retrieve InlineAsm's function type 2015-07-28 00:06:38 +00:00
Core.cpp Add support to set/get ordering for load/store from the C API 2015-08-02 12:16:57 +00:00
DataLayout.cpp Revert "Add const to a bunch of Type* in DataLayout. NFC." 2015-07-27 17:15:28 +00:00
DebugInfo.cpp DI: Simplify DebugInfoFinder::processType(), NFC 2015-07-24 20:56:10 +00:00
DebugInfoMetadata.cpp DI: Disallow uniquable DICompileUnits 2015-08-03 17:26:41 +00:00
DebugLoc.cpp
DiagnosticInfo.cpp Fix -Wextra-semi warnings. 2015-07-22 20:46:11 +00:00
DiagnosticPrinter.cpp
DIBuilder.cpp DI: Remove DW_TAG_arg_variable and DW_TAG_auto_variable 2015-07-31 18:58:39 +00:00
Dominators.cpp Remove macro guards for extern template instantiations. 2015-07-13 17:21:31 +00:00
Function.cpp
GCOV.cpp
Globals.cpp
GVMaterializer.cpp
InlineAsm.cpp [opaque pointer type] Avoid using pointee types to retrieve InlineAsm's function type 2015-07-28 00:06:38 +00:00
Instruction.cpp New EH representation for MSVC compatibility 2015-07-31 17:58:14 +00:00
Instructions.cpp New EH representation for MSVC compatibility 2015-07-31 17:58:14 +00:00
IntrinsicInst.cpp
IRBuilder.cpp
IRPrintingPasses.cpp
LegacyPassManager.cpp
LLVMBuild.txt
LLVMContext.cpp
LLVMContextImpl.cpp DI: Disallow uniquable DICompileUnits 2015-08-03 17:26:41 +00:00
LLVMContextImpl.h DI: Disallow uniquable DICompileUnits 2015-08-03 17:26:41 +00:00
Makefile
Mangler.cpp
MDBuilder.cpp
Metadata.cpp DI: Disallow uniquable DICompileUnits 2015-08-03 17:26:41 +00:00
MetadataImpl.h DI: Disallow uniquable DICompileUnits 2015-08-03 17:26:41 +00:00
MetadataTracking.cpp
Module.cpp
module.modulemap
Operator.cpp
Pass.cpp
PassManager.cpp
PassRegistry.cpp
Statepoint.cpp
SymbolTableListTraitsImpl.h
Type.cpp Mark CompositeType::getTypeAtIndex as const. NFC 2015-08-01 22:52:12 +00:00
TypeFinder.cpp
Use.cpp
User.cpp
Value.cpp [IR] Switch static const to an enum to silence MSVC linker warnings 2015-07-10 22:46:02 +00:00
ValueSymbolTable.cpp
ValueTypes.cpp
Verifier.cpp DI: Disallow uniquable DICompileUnits 2015-08-03 17:26:41 +00:00