summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2017-03-30 23:58:19 +0000
committerDan Gohman <dan433584@gmail.com>2017-03-30 23:58:19 +0000
commit970d02c42dc122a4a550599aa9153965a521660b (patch)
tree585011ec096221540d87c3527856b4e5e25a2c43 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent1074cb5420f6cec1d2ea039d0f343719de7d84aa (diff)
downloadbcm5719-llvm-970d02c42dc122a4a550599aa9153965a521660b.tar.gz
bcm5719-llvm-970d02c42dc122a4a550599aa9153965a521660b.zip
[WebAssembly] Initial linking metadata support
Add support for the new relocations and linking metadata section support in https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md. In particular, this allows LLVM to indicate which variable is the stack pointer, so that it can be linked with other objects. This also adds support for emitting type relocations for call_indirect instructions. Right now, this is mainly tested by using wabt and hexdump to examine the output on selected testcases. We'll add more tests as the design stablizes and more of the pieces are in place. llvm-svn: 299141
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud