summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-01-26 05:05:23 +0000
committerRui Ueyama <ruiu@google.com>2014-01-26 05:05:23 +0000
commitbaa58b6692992cec1c8c88b43f4811165e43d5d4 (patch)
tree29fe86a830dba157c2b6132990d5323b2d467a8a /include
parent8673b5492aeeccbe93e776f6957f50da34e69e0b (diff)
downloadllvm-baa58b6692992cec1c8c88b43f4811165e43d5d4.tar.gz
llvm-baa58b6692992cec1c8c88b43f4811165e43d5d4.tar.bz2
llvm-baa58b6692992cec1c8c88b43f4811165e43d5d4.tar.xz
COFF: Add a missing enum value for high entropy ASLR.
That bit is not documented in the PE/COFF spec published by Microsoft, so we don't know the official name of it. I named this bit IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VIRTUAL_ADDRESS because the bit is reported as "high entropy virtual address" by dumpbin.exe, git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/COFF.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/COFF.h b/include/llvm/Support/COFF.h
index d9e239ec58..fde545f008 100644
--- a/include/llvm/Support/COFF.h
+++ b/include/llvm/Support/COFF.h
@@ -531,6 +531,8 @@ namespace COFF {
};
enum DLLCharacteristics {
+ /// ASLR with 64 bit address space.
+ IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VIRTUAL_ADDRESS = 0x0020,
/// DLL can be relocated at load time.
IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE = 0x0040,
/// Code integrity checks are enforced.