[all-commits] [llvm/llvm-project] 977cd6: [AMDGPU] Don’t marke the .note section as ALLOC

Seebi via All-commits all-commits at lists.llvm.org
Thu Feb 20 06:32:45 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 977cd661cf019039dec7ffdd15bf0ac500828c87
      https://github.com/llvm/llvm-project/commit/977cd661cf019039dec7ffdd15bf0ac500828c87
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
    M llvm/test/CodeGen/AMDGPU/hsa.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list