From: Viktoria Maximova Date: Fri, 28 Apr 2023 14:29:16 +0000 (-0700) Subject: [PATCH 44/79] [NFC][DebugInfo] Rewrite NonSemantic/DebugInfoProducer test X-Git-Tag: archive/raspbian/15.0.0-6+rpi1^2~37 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9033f3e76d8216f1790606e2d1133bafac569b08;p=spirv-llvm-translator-15.git [PATCH 44/79] [NFC][DebugInfo] Rewrite NonSemantic/DebugInfoProducer test There is a bug in -r -spirv-text mode in translation of Strings with spaces. Temporary avoid running such pipeline until proper fix is delivered. Gbp-Pq: Name 0044-NFC-DebugInfo-Rewrite-NonSemantic-DebugInfoProducer-.patch --- diff --git a/test/DebugInfo/NonSemantic/DebugInfoProducer.ll b/test/DebugInfo/NonSemantic/DebugInfoProducer.ll index 9de3cc5..49a894f 100644 --- a/test/DebugInfo/NonSemantic/DebugInfoProducer.ll +++ b/test/DebugInfo/NonSemantic/DebugInfoProducer.ll @@ -20,7 +20,8 @@ ; Check that we don't produce "producer" info for NonSemantic.Shader.DebugInfo.100 as it's not specification conformant ; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-100 -spirv-text -o %t.spt ; RUN: FileCheck %s --input-file %t.spt --check-prefix CHECK-SPIRV-100 -; RUN: llvm-spirv -spirv-text -r -emit-opaque-pointers %t.spt -o %t.rev.bc +; RUN: llvm-spirv %t.bc --spirv-debug-info-version=nonsemantic-shader-100 -o %t.spv +; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc ; RUN: llvm-dis %t.rev.bc -o - | FileCheck %s --check-prefix CHECK-LLVM-100 ; ModuleID = 's.bc'