[DebugInfo] Attempt to fix regression test failure after 59a76d957a2603ee0
authorSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Thu, 23 Jul 2020 09:13:24 +0000 (14:43 +0530)
committerSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Thu, 23 Jul 2020 09:25:30 +0000 (14:55 +0530)
commit8998f8ab6630ef173cd1f57f0e57b4c16566db6f
tree015cf674bebd7097f1c50875f777b4d5e1ca1097
parente4dd964df0164651f1804612ad41582fb801607f
[DebugInfo] Attempt to fix regression test failure after 59a76d957a2603ee0

Test case `test/CodeGen/WebAssembly/stackified-debug.ll`
was failing due to malformed DwarfExpression.

This failure has been seen in lot of bots, for instance in:
http://lab.llvm.org:8011/builders/lld-x86_64-ubuntu-fast/builds/18794

: 'RUN: at line 1'
/home/buildbot/as-builder-4/lld-x86_64-ubuntu-fast/build/bin/llc
/home/buildbot/as-builder-4/lld-x86_64-ubuntu-fast/build/bin/FileCheck /home/buildbot/as-builder-4/lld-x86_64-ubuntu-fast/llvm-project/llvm/test/CodeGen/WebAssembly/stackified-debug.ll
home/buildbot/as-builder-4/lld-x86_64-ubuntu-fast/llvm-project/llvm/test/CodeGen/WebAssembly/stackified-debug.ll:26:10: error: CHECK: expected string not found in input
 CHECK: .int16 4 # Loc expr size
         ^
<stdin>:34:2: note: scanning from here
 .int16 3 # Loc expr size

Differential Revision: https://reviews.llvm.org/D83560
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp