]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DRD regtest: delete second line in callstack of std_thread2 test
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 7 Feb 2026 10:02:38 +0000 (11:02 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 7 Feb 2026 10:02:38 +0000 (11:02 +0100)
Older GCCs generate something quite different. No point trying to
massage it into something common so just delete it.

drd/tests/filter_lambda
drd/tests/std_thread2.stderr.exp

index 248132dc8aa9ba3a0c369330194c4e01983147d8..31dcc75939ec6f55b8d4a92fc550dbdd477081b5 100755 (executable)
@@ -3,5 +3,6 @@
 ./filter_stderr |
 
 sed -e 's/\$_0/LAMBDA/' |
-sed -e 's/{lambda()#1}/LAMBDA/'
+sed -e 's/{lambda()#1}/LAMBDA/' |
+sed -e '/std::_/d'
 
index ec6cf60f5ad0bcdc97e7b4409f0fefc44de242d7..818b5cf579028712c12632d404a137512038e521 100644 (file)
@@ -2,7 +2,6 @@
 Thread 2:
 Conflicting store by thread 2 at 0x........ size 4
    at 0x........: main::LAMBDA::operator()() const (std_thread2.cpp:21)
-   by 0x........: void std::__invoke_impl<void, main::LAMBDA>(std::__invoke_other, main::{lambda()#1}&&) (invoke.h:?)
 Allocation context: BSS section of std_thread2
 
 Done.