[all-commits] [llvm/llvm-project] 1de4e5: [AMDGPU] Don't mark the .note section as ALLOC
Seebi via All-commits
all-commits at lists.llvm.org
Tue May 5 05:22:13 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1de4e5693317c1e34cae4740d6c9c6733e5ed3fd
https://github.com/llvm/llvm-project/commit/1de4e5693317c1e34cae4740d6c9c6733e5ed3fd
Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
A llvm/test/CodeGen/AMDGPU/amdpal-elf.ll
Log Message:
-----------
[AMDGPU] Don't mark the .note section as ALLOC
Marking a section as ALLOC tells the ELF loader to load the section into memory.
As we do not want to load the notes into VRAM, the flag should not be there.
On AMDHSA, .note is still marked as ALLOC, apparently this is currently
needed for OpenCL (see https://reviews.llvm.org/D74995).
Differential Revision: https://reviews.llvm.org/D76278
More information about the All-commits
mailing list