[NFC][DWARF] Add triple to new TAG test file
authorJinsong Ji <jji@us.ibm.com>
Fri, 3 Sep 2021 18:12:46 +0000 (18:12 +0000)
committerJinsong Ji <jji@us.ibm.com>
Fri, 3 Sep 2021 18:15:34 +0000 (18:15 +0000)
commit38b3d4febedb105a6e55650678ad83021d973063
tree8c93c44ea7c53e66394e0f380ef179c322524578
parent655bea4226b401a11164f99c6344e38d8742b8e4
[NFC][DWARF] Add triple to new TAG test file

The file is requiring x86, but using llc without triple.

This will cause problem on non-x86 platforms, as the default triple will
not be x86.

eg: On PowerPC le, it will emit warnings as:

'x86-64' is not a recognized processor for this target (ignoring
processor)
'+cx8' is not a recognized feature for this target (ignoring feature)
'+fxsr' is not a recognized feature for this target (ignoring feature)
'+mmx' is not a recognized feature for this target (ignoring feature)
'+sse' is not a recognized feature for this target (ignoring feature)
..

On some other platform, it may even crash -- if some of the feature are
with same name (eg: soft-float).

Add the triple as this was the intention test target.
llvm/test/DebugInfo/attr-btf_tag.ll