[WebAssembly] Define a custom segment type for function definitions.
authorDan Gohman <dan433584@gmail.com>
Tue, 12 Jan 2016 02:58:12 +0000 (02:58 +0000)
committerDan Gohman <dan433584@gmail.com>
Tue, 12 Jan 2016 02:58:12 +0000 (02:58 +0000)
commit3a52c6e4b7ba49898b1700f3c39fc2f7b7913746
tree332680c3618959193d9f4fffd5d59241a55f65cc
parent7b0624d17e4cf736985312bc497a79c327e87e8f
[WebAssembly] Define a custom segment type for function definitions.

Since function definitions are not loaded into the address space, PT_LOAD is
inappropriate. PT_WEBASSEMBLY_FUNCTIONS is used to identify where the function
definitions are so that they can be processed at program startup time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257436 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ELF.h