summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/section.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/ELF/section.s')
-rw-r--r--llvm/test/MC/ELF/section.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/MC/ELF/section.s b/llvm/test/MC/ELF/section.s
index c3f7d426ba5..57755223db1 100644
--- a/llvm/test/MC/ELF/section.s
+++ b/llvm/test/MC/ELF/section.s
@@ -279,3 +279,17 @@ bar:
// CHECK-NEXT: Flags [
// CHECK-NEXT: SHF_EXCLUDE
// CHECK-NEXT: ]
+
+// Test SHT_LLVM_LINKER_OPTIONS
+
+.section ".linker-options","e",@llvm_linker_options
+// ASM: .section ".linker-options","e",@llvm_linker_options
+
+// CHECK: Section {
+// CHECK: Name: .linker-options
+// CHECK-NEXT: Type: SHT_LLVM_LINKER_OPTIONS
+// CHECK-NEXT: Flags [
+// CHECK-NEXT: SHF_EXCLUDE
+// CHECK-NEXT: ]
+// CHECK: }
+
OpenPOWER on IntegriCloud