Generalize DISubprogram element to encode various flags instead of just one boolean for isArtificial.

This is a backword compatible change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115084 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2010-09-29 21:04:46 +00:00
parent b0725316cd
commit 9dd2b47d44
4 changed files with 24 additions and 19 deletions

View File

@@ -22,7 +22,8 @@ namespace llvm {
// Debug info constants.
enum {
LLVMDebugVersion = (8 << 16), // Current version of debug information.
LLVMDebugVersion = (9 << 16), // Current version of debug information.
LLVMDebugVersion8 = (8 << 16), // Cconstant for version 8.
LLVMDebugVersion7 = (7 << 16), // Constant for version 7.
LLVMDebugVersion6 = (6 << 16), // Constant for version 6.
LLVMDebugVersion5 = (5 << 16), // Constant for version 5.