Skip to content

[llvm-lit] TypeError: string argument expected in BOLT when testing with lit internal shell #102693

@Harini0924

Description

@Harini0924

When running the test: BOLT :: runtime/X86/tail-duplication-constant-prop.s using the lit internal shell with the following command:
LIT_USE_INTERNAL_SHELL=1 ninja check-bolt
The following error occurs:

********************
UNRESOLVED: BOLT :: runtime/X86/tail-duplication-constant-prop.s (430 of 453)
******************** TEST 'BOLT :: runtime/X86/tail-duplication-constant-prop.s' FAILED ********************
TypeError: string argument expected, got 'GlobItem'
********************

files with failure:

  • bolt/test/runtime/X86/tail-duplication-constant-prop.s

Steps to Reproduce:

  1. CMAKE config:
cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;llvm;clang-tools-extra;lld;lldb;bolt;mlir;libclc;polly" -DLLVM_ENABLE_RUNTIMES="compiler-rt;libc;libcxx;libunwind;libcxxabi" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -B build -S .
  1. LIT_USE_INTERNAL_SHELL=1 ninja check-bolt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions