llvm-6502/include/llvm
Tobias Grosser e7bc5bb862 Make .bc en/decoding of AttrKind stable
The bitcode representation attribute kinds are encoded into / decoded from
should be independent of the current set of LLVM attributes and their position
in the AttrKind enum. This patch explicitly encodes attributes to fixed bitcode
values.

With this patch applied, LLVM does not silently misread attributes written by
LLVM 3.3. We also enhance the decoding slightly such that an error message is
printed if an unknown AttrKind encoding was dected.

Bonus: Dropping bitcode attributes from AttrKind is now easy, as old AttrKinds
       do not need to be kept to support the Bitcode reader.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187186 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-26 04:16:55 +00:00
..
ADT [PowerPC] Support powerpc64le as a syntax-checking target. 2013-07-26 01:35:43 +00:00
Analysis Fix typo (ponted -> pointed) 2013-07-22 23:52:23 +00:00
Assembly
Bitcode Make .bc en/decoding of AttrKind stable 2013-07-26 04:16:55 +00:00
CodeGen MI Sched: Register pressure heuristics. 2013-07-25 07:26:35 +00:00
Config
DebugInfo
ExecutionEngine
IR Remove the mblaze backend from llvm. 2013-07-25 18:55:05 +00:00
IRReader
MC Split generated asm mnemonic matching table into a separate table for each asm variant. 2013-07-24 07:33:14 +00:00
Object [PowerPC] Support powerpc64le as a syntax-checking target. 2013-07-26 01:35:43 +00:00
Option [Option] Add inclusion and exclusion flags to option parsing 2013-07-19 18:04:57 +00:00
Support Remove the mblaze backend from llvm. 2013-07-25 18:55:05 +00:00
TableGen
Target Fix a comment cut-&-pasto. 2013-07-25 10:53:02 +00:00
Transforms Respect llvm.used in Internalize. 2013-07-25 03:23:25 +00:00
AutoUpgrade.h Remove trailing whitespace, fix file path in comment 2013-07-20 17:46:00 +00:00
CMakeLists.txt
DebugInfo.h Remove dead code. 2013-07-24 01:38:05 +00:00
DIBuilder.h Remove DIBuilder cache of variable TheCU and change the few 2013-07-19 00:51:47 +00:00
GVMaterializer.h
InitializePasses.h
InstVisitor.h
LinkAllIR.h
LinkAllPasses.h
Linker.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h