[llvm-commits] [llvm] r112703 - /llvm/trunk/include/llvm/Support/COFF.h
Michael J. Spencer
bigcheesegs at gmail.com
Wed Sep 1 07:09:36 PDT 2010
Author: mspencer
Date: Wed Sep 1 09:09:36 2010
New Revision: 112703
URL: http://llvm.org/viewvc/llvm-project?rev=112703&view=rev
Log:
COFF: Fix incorrect SCT_COMPLEX_TYPE_SHIFT. Add a few constants.
Modified:
llvm/trunk/include/llvm/Support/COFF.h
Modified: llvm/trunk/include/llvm/Support/COFF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/COFF.h?rev=112703&r1=112702&r2=112703&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/COFF.h (original)
+++ llvm/trunk/include/llvm/Support/COFF.h Wed Sep 1 09:09:36 2010
@@ -72,6 +72,12 @@
SF_WeakReference = 0x01000000
};
+ enum SymbolSectionNumber {
+ IMAGE_SYM_DEBUG = -2,
+ IMAGE_SYM_ABSOLUTE = -1,
+ IMAGE_SYM_UNDEFINED = 0
+ };
+
/// Storage class tells where and what the symbol represents
enum SymbolStorageClass {
IMAGE_SYM_CLASS_END_OF_FUNCTION = -1, ///< Physical end of function
@@ -133,7 +139,7 @@
IMAGE_SYM_DTYPE_ARRAY = 3, ///< An array of base type.
/// Type is formed as (base + (derived << SCT_COMPLEX_TYPE_SHIFT))
- SCT_COMPLEX_TYPE_SHIFT = 4
+ SCT_COMPLEX_TYPE_SHIFT = 8
};
struct section {
More information about the llvm-commits
mailing list