diff --git a/llvm/test/DebugInfo/debugline-endsequence.ll b/llvm/test/DebugInfo/debugline-endsequence.ll --- a/llvm/test/DebugInfo/debugline-endsequence.ll +++ b/llvm/test/DebugInfo/debugline-endsequence.ll @@ -1,5 +1,7 @@ ; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump --debug-line - | FileCheck %s +; REQUIRES: aarch64-registered-target + target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" target triple = "arm64-apple-macosx12.0.0" diff --git a/llvm/test/DebugInfo/debugline-endsequence.s b/llvm/test/DebugInfo/debugline-endsequence.s --- a/llvm/test/DebugInfo/debugline-endsequence.s +++ b/llvm/test/DebugInfo/debugline-endsequence.s @@ -1,5 +1,7 @@ # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o - | llvm-dwarfdump --debug-line - | FileCheck %s +# REQUIRES: x86-registered-target + # The line table is open in the MC path. # The end sequence is emitted using the section end label.