Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[sanitizer] Fix libcxx cache existence check in symbolizer build#149249

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
int-zjt wants to merge1 commit intollvm:main
base:main
Choose a base branch
Loading
fromint-zjt:fix_symbolizer_build

Conversation

int-zjt
Copy link
Contributor

The script incorrectly checked ${LLVM_BUILD}/build.ninja to determine if cached libcxx is available, while it should be checking the actual libcxx build directory at ${LIBCXX_BUILD}/build.ninja.

@llvmbot
Copy link
Member

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: None (int-zjt)

Changes

The script incorrectly checked ${LLVM_BUILD}/build.ninja to determine if cached libcxx is available, while it should be checking the actual libcxx build directory at ${LIBCXX_BUILD}/build.ninja.


Full diff:https://github.com/llvm/llvm-project/pull/149249.diff

1 Files Affected:

  • (modified) compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh (+1-1)
diff --git a/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh b/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.shindex 4d435976d3a10..c16ced067d4df 100755--- a/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh+++ b/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh@@ -87,7 +87,7 @@ AR="${AR}" CC="${CC}" CFLAGS="$FLAGS -Wno-deprecated-non-prototype" RANLIB=/bin/ make -j libz.a  # Build and install libcxxabi and libcxx.-if [[ ! -f ${LLVM_BUILD}/build.ninja ]]; then+if [[ ! -f ${LIBCXX_BUILD}/build.ninja ]]; then   rm -rf "${LIBCXX_BUILD}" "${LIBCXX_INSTALL}"   mkdir -p ${LIBCXX_BUILD} ${LIBCXX_INSTALL}   cd ${LIBCXX_BUILD}

@Enna1Enna1 requested a review fromvitalybukaJuly 17, 2025 06:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vitalybukavitalybukaAwaiting requested review from vitalybuka

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@int-zjt@llvmbot

[8]ページ先頭

©2009-2025 Movatter.jp