about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-10 07:09:21 +0200
committerGitHub <noreply@github.com>2022-09-10 07:09:21 +0200
commit27afe5586054f079c4fc7005b05b6ce93f549766 (patch)
tree52126775d0d20e24d4abbf87ba6e825ac13b35f1
parent3ddb0482a3cc53cc1fea96a0c72b372a7b99790b (diff)
parent76aefbeddb4db78400e0cba87ef783b7444cbdc8 (diff)
downloadrust-27afe5586054f079c4fc7005b05b6ce93f549766.tar.gz
rust-27afe5586054f079c4fc7005b05b6ce93f549766.zip
Rollup merge of #101616 - TimNN:relax-msan, r=lqd
Adapt test for msan message change

Similar to rust-lang/rust#100445, this adapts the new test added by rust-lang/rust#99207 to some relatively recent [LLVM changes](https://github.com/llvm/llvm-project/commit/057cabd997aeaef136e1e14f2ee645bd5bb197dd) that removed the function name from msan messages.

Found via our experimental rust + llvm @ HEAD bot:
https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/13347#018321b2-0cc3-4c91-b4db-774477e8b074

`@rustbot` label +llvm-main
-rw-r--r--src/test/ui/sanitize/memory-eager.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/sanitize/memory-eager.rs b/src/test/ui/sanitize/memory-eager.rs
index 8a0590bf16c..cc0593ec07d 100644
--- a/src/test/ui/sanitize/memory-eager.rs
+++ b/src/test/ui/sanitize/memory-eager.rs
@@ -10,7 +10,7 @@
 // run-fail
 // error-pattern: MemorySanitizer: use-of-uninitialized-value
 // error-pattern: Uninitialized value was created by an allocation
-// error-pattern: in the stack frame of function 'random'
+// error-pattern: in the stack frame
 //
 // This test case intentionally limits the usage of the std,
 // since it will be linked with an uninstrumented version of it.