Duncan P. N. Exon Smith
1c93116489
AsmWriter/Bitcode: MDImportedEntity
...
llvm-svn: 229025
2015-02-13 01:46:02 +00:00
Duncan P. N. Exon Smith
d45ce96c38
AsmWriter/Bitcode: MDObjCProperty
...
llvm-svn: 229024
2015-02-13 01:43:22 +00:00
Duncan P. N. Exon Smith
0c5c0124ac
AsmWriter/Bitcode: MDExpression
...
llvm-svn: 229023
2015-02-13 01:42:09 +00:00
Duncan P. N. Exon Smith
72fe2d0b79
AsmWriter/Bitcode: MDLocalVariable
...
llvm-svn: 229022
2015-02-13 01:39:44 +00:00
Duncan P. N. Exon Smith
c8f810a017
AsmWriter/Bitcode: MDGlobalVariable
...
llvm-svn: 229020
2015-02-13 01:35:40 +00:00
Duncan P. N. Exon Smith
2847f3805e
AsmWriter/Bitcode: MDTemplate{Type,Value}Parameter
...
llvm-svn: 229019
2015-02-13 01:34:32 +00:00
Duncan P. N. Exon Smith
e146000565
AsmWriter/Bitcode: MDNamespace
...
llvm-svn: 229018
2015-02-13 01:32:09 +00:00
Duncan P. N. Exon Smith
06a0702e40
AsmWriter/Bitcode: MDLexicalBlockFile
...
llvm-svn: 229017
2015-02-13 01:30:42 +00:00
Duncan P. N. Exon Smith
a96d409997
AsmWriter/Bitcode: MDLexicalBlock
...
llvm-svn: 229016
2015-02-13 01:29:28 +00:00
Duncan P. N. Exon Smith
19fc5ed7db
AsmWriter/Bitcode: MDSubprogram
...
llvm-svn: 229014
2015-02-13 01:26:47 +00:00
Duncan P. N. Exon Smith
c1f1acc751
AsmWriter/Bitcode: MDCompileUnit
...
llvm-svn: 229013
2015-02-13 01:25:10 +00:00
Duncan P. N. Exon Smith
54e2bc6c9b
AsmWriter/Bitcode: MDSubroutineType
...
llvm-svn: 229011
2015-02-13 01:22:59 +00:00
Duncan P. N. Exon Smith
171d077ae4
AsmWriter/Bitcode: MDDerivedType and MDCompositeType
...
llvm-svn: 229009
2015-02-13 01:20:38 +00:00
Duncan P. N. Exon Smith
f14b9c7cc1
AsmWriter/Bitcode: MDFile
...
llvm-svn: 229007
2015-02-13 01:19:14 +00:00
Duncan P. N. Exon Smith
09e03f38d6
AsmWriter/Bitcode: MDBasicType
...
llvm-svn: 229005
2015-02-13 01:14:58 +00:00
Duncan P. N. Exon Smith
8775476419
AsmWriter/Bitcode: MDEnumerator
...
llvm-svn: 229004
2015-02-13 01:14:11 +00:00
Duncan P. N. Exon Smith
c7363f1147
AsmWriter/Bitcode: MDSubrange
...
llvm-svn: 229003
2015-02-13 01:10:38 +00:00
Peter Collingbourne
69ba0167b3
Misc documentation/comment fixes.
...
llvm-svn: 228093
2015-02-04 00:42:45 +00:00
Duncan P. N. Exon Smith
4e4aa70535
IR: Assembly and bitcode for GenericDebugNode
...
llvm-svn: 228041
2015-02-03 21:54:14 +00:00
Duncan P. N. Exon Smith
d9901ff586
IR: Split out DebugInfoMetadata.h, NFC
...
Move debug-info-centred `Metadata` subclasses into their own
header/source file. A couple of private template functions are needed
from both `Metadata.cpp` and `DebugInfoMetadata.cpp`, so I've moved them
to `lib/IR/MetadataImpl.h`.
llvm-svn: 227835
2015-02-02 18:53:21 +00:00
Filipe Cabecinhas
fcd044b692
Check bit widths before trying to get a type.
...
Added a test case for it.
Also added run lines for the test case in r227566.
Bugs found with afl-fuzz
llvm-svn: 227589
2015-01-30 18:13:50 +00:00
Filipe Cabecinhas
d0858e1037
[bitcode reader] Fix an assert on invalid type tables
...
Bug found with afl-fuzz
llvm-svn: 227566
2015-01-30 10:57:58 +00:00
David Majnemer
3087b22e1a
Bitcode: Don't create comdats when autoupgrading macho bitcode
...
Don't infer COMDAT groups from older bitcode if the target is macho,
it doesn't have COMDATs.
llvm-svn: 226546
2015-01-20 05:58:07 +00:00
Duncan P. N. Exon Smith
2bc00f4a38
IR: Merge UniquableMDNode back into MDNode, NFC
...
As pointed out in r226501, the distinction between `MDNode` and
`UniquableMDNode` is confusing. When we need subclasses of `MDNode`
that don't use all its functionality it might make sense to break it
apart again, but until then this makes the code clearer.
llvm-svn: 226520
2015-01-19 23:13:14 +00:00
Duncan P. N. Exon Smith
7d82313bcd
IR: Return unique_ptr from MDNode::getTemporary()
...
Change `MDTuple::getTemporary()` and `MDLocation::getTemporary()` to
return (effectively) `std::unique_ptr<T, MDNode::deleteTemporary>`, and
clean up call sites. (For now, `DIBuilder` call sites just call
`release()` immediately.)
There's an accompanying change in each of clang and polly to use the new
API.
llvm-svn: 226504
2015-01-19 21:30:18 +00:00