Fixed bot failure after d20bf5a7258d4b6a7
authorAlok Kumar Sharma <AlokKumar.Sharma@amd.com>
Thu, 28 May 2020 10:16:06 +0000 (15:46 +0530)
committerSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Thu, 28 May 2020 12:31:38 +0000 (18:01 +0530)
commit7716681cfd0ea2dadbddae6f1983e130c2fa4247
tree2107bc8d140ae1c671665b3d52e1df5a11bcf634
parentf47e27e260e3e06167a7e1de8a4c092b95717e15
Fixed bot failure after d20bf5a7258d4b6a7

There was a failure on windows bit due to format mismatch on
different(Hex and Decimal) platforms even if meaning of output is same.

For example on X86 linux =>
DW_OP_plus_uconst 0x70, DW_OP_deref, DW_OP_lit4, DW_OP_mul
              ^
on X86 Windows-gnu =>
DW_AT_location (DW_OP_fbreg +112, DW_OP_deref, DW_OP_lit4, DW_OP_mul)

: error: CHECK-SAME: expected string not found in input
; CHECK-SAME: DW_OP_plus_uconst 0x70, DW_OP_deref, DW_OP_lit4, DW_OP_mul
              ^
<stdin>:28:17: note: scanning from here
 DW_AT_location (DW_OP_fbreg +112, DW_OP_deref, DW_OP_lit4, DW_OP_mul)
                ^
<stdin>:28:18: note: possible intended match here
 DW_AT_location (DW_OP_fbreg +112, DW_OP_deref, DW_OP_lit4, DW_OP_mul)

Now the test is limited to x86 using REQUIRED and -mtriple.

http://45.33.8.238/win/16214/step_11.txt
llvm/test/DebugInfo/fortranSubrangeVar.ll