[test] Use host platform specific error message substitution
authorAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>
Mon, 7 Jun 2021 14:06:11 +0000 (10:06 -0400)
committerAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>
Mon, 7 Jun 2021 14:06:38 +0000 (10:06 -0400)
commit7e176ff2db93304620a9080df2e003ae50f9b826
treee064458405249fb36dae205ae5826d553efd2cd1
parentfd3b556958a9deee7ced33ec18b38c030145160b
[test] Use host platform specific error message substitution

This testcase is failing on z/OS because the regex doesn't match the spelling. This patch modifies the testcase to use the error substitution so it will pass on all platforms.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D103804
llvm/test/tools/llvm-dwarfdump/X86/output.s