diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2016-11-10 21:18:49 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2016-11-10 21:18:49 +0000 |
commit | d6fbe65040a91483035d7de8f7accd07449abfd4 (patch) | |
tree | b829582cb75aed3cf96b6666b71dd09327eae98d /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 949f9b9f641720804832e460b5e04df47ec6b8a5 (diff) | |
download | llvm-d6fbe65040a91483035d7de8f7accd07449abfd4.zip llvm-d6fbe65040a91483035d7de8f7accd07449abfd4.tar.gz llvm-d6fbe65040a91483035d7de8f7accd07449abfd4.tar.bz2 |
AMDGPU: Emit runtime metadata as a note element in .note section
Currently runtime metadata is emitted as an ELF section with name .AMDGPU.runtime_metadata.
However there is a standard way to convey vendor specific information about how to run an ELF binary, which is called vendor-specific note element (http://www.netbsd.org/docs/kernel/elf-notes.html).
This patch lets AMDGPU backend emits runtime metadata as a note element in .note section.
Differential Revision: https://reviews.llvm.org/D25781
llvm-svn: 286502
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions