[llvm] r186377 - COFF: Add constants for optional data directory.
Rui Ueyama
ruiu at google.com
Mon Jul 15 20:11:56 PDT 2013
Author: ruiu
Date: Mon Jul 15 22:11:55 2013
New Revision: 186377
URL: http://llvm.org/viewvc/llvm-project?rev=186377&view=rev
Log:
COFF: Add constants for optional data directory.
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=186377&r1=186376&r2=186377&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/COFF.h (original)
+++ llvm/trunk/include/llvm/Support/COFF.h Mon Jul 15 22:11:55 2013
@@ -488,6 +488,24 @@ namespace COFF {
uint32_t Size;
};
+ enum DataDirectoryIndex {
+ EXPORT_TABLE = 0,
+ IMPORT_TABLE,
+ RESOURCE_TABLE,
+ EXCEPTION_TABLE,
+ CERTIFICATE_TABLE,
+ BASE_RELOCATION_TABLE,
+ DEBUG,
+ ARCHITECTURE,
+ GLOBAL_PTR,
+ TLS_TABLE,
+ LOAD_CONFIG_TABLE,
+ BOUND_IMPORT,
+ IAT,
+ DELAY_IMPORT_DESCRIPTOR,
+ CLR_RUNTIME_HEADER
+ };
+
enum WindowsSubsystem {
IMAGE_SUBSYSTEM_UNKNOWN = 0, ///< An unknown subsystem.
IMAGE_SUBSYSTEM_NATIVE = 1, ///< Device drivers and native Windows processes
More information about the llvm-commits
mailing list