HomePhabricator

[AMDGPU] Don’t marke the .note section as ALLOC

Authored by sebastian-ne on Feb 13 2020, 12:43 AM.

Description

[AMDGPU] Don’t marke 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.

Differential Revision: https://reviews.llvm.org/D74600