[MC][BPF] Add bpf guard for MC test data-section-prefix.ll
authorYonghong Song <yhs@fb.com>
Wed, 28 Dec 2022 03:57:30 +0000 (19:57 -0800)
committerYonghong Song <yhs@fb.com>
Wed, 28 Dec 2022 04:01:26 +0000 (20:01 -0800)
commit5922d361229430a373e007a8e82ad69c7186d56d
tree02592842ba85fe3a31f897b7c50c1282a44b9004
parent490c77e46d8d2ccda36a1ff3983b937b3bf2c772
[MC][BPF] Add bpf guard for MC test data-section-prefix.ll

Commit f27c4903c43b ("MC: Add .data. and .rodata. prefixes to MCContext
section classification") added a test assuming bpf target. But it
is possible bpf target is not configured in the clang build.
Let us add explicit bpf-target requirement for the test
so the test can be ingored properly for clang build without enabling
bpf target.
llvm/test/MC/ELF/data-section-prefix.ll