Skip to content

Provide ErrorBadParamsToCopyContiguousContainerAnnotations a more cor… #139870

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gbMattN
Copy link
Contributor

@gbMattN gbMattN commented May 14, 2025

…rect 'reason' when constructing ErrorBase

@llvmbot
Copy link
Member

llvmbot commented May 14, 2025

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

Author: None (gbMattN)

Changes

…rect 'reason' when constructing ErrorBase


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

1 Files Affected:

  • (modified) compiler-rt/lib/asan/asan_errors.h (+1-1)
diff --git a/compiler-rt/lib/asan/asan_errors.h b/compiler-rt/lib/asan/asan_errors.h
index b3af655e66639..f339b35d2a764 100644
--- a/compiler-rt/lib/asan/asan_errors.h
+++ b/compiler-rt/lib/asan/asan_errors.h
@@ -362,7 +362,7 @@ struct ErrorBadParamsToCopyContiguousContainerAnnotations : ErrorBase {
       u32 tid, BufferedStackTrace *stack_, uptr old_storage_beg_,
       uptr old_storage_end_, uptr new_storage_beg_, uptr new_storage_end_)
       : ErrorBase(tid, 10,
-                  "bad-__sanitizer_annotate_double_ended_contiguous_container"),
+                  "bad-__sanitizer_copy_contiguous_container_annotations"),
         stack(stack_),
         old_storage_beg(old_storage_beg_),
         old_storage_end(old_storage_end_),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants