Files
clang-p2996/lld/test/ELF/note-noalloc2.s
George Rimar 6b3801824c [ELF] - Improve the test cases for notes sections.
A minor clean up and improvement for our tests for notes sections.

Differential revision: https://reviews.llvm.org/D46690

llvm-svn: 331980
2018-05-10 13:45:34 +00:00

12 lines
296 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t
# RUN: llvm-readobj -program-headers %t | FileCheck %s
## Check we do not create a PT_NOTE segment for non-allocatable note section.
# CHECK-NOT: PT_NOTE
.section .note,"",@note
.quad 0