aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-07-16 03:11:55 +0000
committerRui Ueyama <ruiu@google.com>2013-07-16 03:11:55 +0000
commit3a101048affcb00654b85558157150ad270fc46d (patch)
treec58e9469fa53ff295b8c632c0f1286d8627cb601 /include
parent77e31bca0321c6b470a844e3d5468fd998eef44e (diff)
downloadexternal_llvm-3a101048affcb00654b85558157150ad270fc46d.zip
external_llvm-3a101048affcb00654b85558157150ad270fc46d.tar.gz
external_llvm-3a101048affcb00654b85558157150ad270fc46d.tar.bz2
COFF: Add constants for optional data directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/COFF.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/llvm/Support/COFF.h b/include/llvm/Support/COFF.h
index d348b76..a39a3f9 100644
--- a/include/llvm/Support/COFF.h
+++ b/include/llvm/Support/COFF.h
@@ -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