[clang] [clang][bytecode] Apply path when visiting `MemberPointer` APValues (PR #194652)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 28 23:50:26 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/52945
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: ClangScanDeps/strip-visibility.c' FAILED ********************
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp
# executed command: rm -rf /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
split-file /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/ClangScanDeps/strip-visibility.c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp
# executed command: split-file /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/ClangScanDeps/strip-visibility.c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
sed -e "s|DIR|/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp|g" /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp/cdb.json.template > /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp/cdb.json
# executed command: sed -e 's|DIR|/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp|g' /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp/cdb.json.template
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps -compilation-database /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp/cdb.json -format experimental-full -mode preprocess-dependency-directives > /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp/result.txt
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps -compilation-database /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/ClangScanDeps/Output/strip-visibility.c.tmp/cdb.json -format experimental-full -mode preprocess-dependency-directives
# .---command stderr------------
# | clang-scan-deps: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/lib/DependencyScanning/InProcessModuleCache.cpp:148: virtual std::error_code {anonymous}::InProcessModuleCache::write(llvm::StringRef, llvm::MemoryBufferRef, off_t&, time_t&): Assertion `Entry.Buffer && *Entry.Buffer == Buffer && "Wrote the same PCM with different contents"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | #0 0x00005c0bd6a74a80 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x399a80)
# | #1 0x00005c0bd6a71b1c llvm::sys::RunSignalHandlers() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x396b1c)
# | #2 0x00005c0bd6a71c82 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# | #3 0x00007e5e7112e520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
# | #4 0x00007e5e711829fc __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
# | #5 0x00007e5e711829fc __pthread_kill_internal ./nptl/pthread_kill.c:78:10
# | #6 0x00007e5e711829fc pthread_kill ./nptl/pthread_kill.c:89:10
# | #7 0x00007e5e7112e476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
# | #8 0x00007e5e711147f3 abort ./stdlib/abort.c:81:7
# | #9 0x00007e5e7111471b _nl_load_domain ./intl/loadmsgcat.c:1177:9
# | #10 0x00007e5e71125e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
# | #11 0x00005c0bd6b0ae4a (anonymous namespace)::InProcessModuleCache::write(llvm::StringRef, llvm::MemoryBufferRef, long&, long&) InProcessModuleCache.cpp:0:0
# | #12 0x00005c0bd6dc33fd compileModuleImpl(clang::CompilerInstance&, clang::SourceLocation, clang::SourceLocation, clang::Module*, clang::ModuleFileName) CompilerInstance.cpp:0:0
# | #13 0x00005c0bd6dc53eb clang::CompilerInstance::findOrCompileModuleAndReadAST(llvm::StringRef, clang::SourceLocation, clang::SourceRange, bool) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x6ea3eb)
# | #14 0x00005c0bd6dc6cb7 clang::CompilerInstance::loadModule(clang::SourceLocation, llvm::ArrayRef<clang::IdentifierLoc>, clang::Module::NameVisibilityKind, bool) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x6ebcb7)
# | #15 0x00005c0bd6f5e2c1 clang::Preprocessor::HandleHeaderIncludeOrImport(clang::SourceLocation, clang::Token&, clang::Token&, clang::SourceLocation, clang::detail::SearchDirIteratorImpl<true>, clang::FileEntry const*) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x8832c1)
# | #16 0x00005c0bd6f6067f clang::Preprocessor::HandleIncludeDirective(clang::SourceLocation, clang::Token&, clang::detail::SearchDirIteratorImpl<true>, clang::FileEntry const*) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x88567f)
# | #17 0x00005c0bd6f61b72 clang::Preprocessor::HandleDirective(clang::Token&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x886b72)
# | #18 0x00005c0bd6efd9b8 clang::Lexer::LexDependencyDirectiveToken(clang::Token&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x8229b8)
# | #19 0x00005c0bd6fa345c clang::Preprocessor::Lex(clang::Token&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x8c845c)
# | #20 0x00005c0bd6e5ebcb clang::ReadPCHAndPreprocessAction::ExecuteAction() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x783bcb)
# | #21 0x00005c0bd6e4ec69 clang::FrontendAction::Execute() (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x773c69)
# | #22 0x00005c0bd6dc8e78 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x6ede78)
# | #23 0x00005c0bd6b098d3 clang::dependencies::DependencyScanningAction::runInvocation(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation>>, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x42e8d3)
# | #24 0x00005c0bd6afad9a auto clang::dependencies::DependencyScanningWorker::computeDependencies(llvm::StringRef, llvm::ArrayRef<llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, clang::dependencies::DependencyConsumer&, clang::dependencies::DependencyActionController&, clang::DiagnosticConsumer&, llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem>)::'lambda0'(auto const&)::operator()<llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>(auto const&) const DependencyScanningWorker.cpp:0:0
# | #25 0x00005c0bd6afbc77 clang::dependencies::DependencyScanningWorker::computeDependencies(llvm::StringRef, llvm::ArrayRef<llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, clang::dependencies::DependencyConsumer&, clang::dependencies::DependencyActionController&, clang::DiagnosticConsumer&, llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem>) (/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-scan-deps+0x420c77)
# | #26 0x00005c0bd71882ce computeDependenciesForDriverCommandLine(clang::dependencies::DependencyScanningWorker&, llvm::StringRef, llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, clang::dependencies::DependencyConsumer&, clang::dependencies::DependencyActionController&, clang::DiagnosticConsumer&, llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem>) DependencyScanningTool.cpp:0:0
...
```
</details>
https://github.com/llvm/llvm-project/pull/194652
More information about the cfe-commits
mailing list