Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task
Harini0924 opened this issue Aug 9, 2024 · 0 comments · May be fixed by #105925
Open
1 task
Assignees

Comments

@Harini0924
Copy link
Contributor

Harini0924 commented Aug 9, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants