]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Small follow up to lock address description: now that we describe
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Thu, 24 Jul 2014 22:30:08 +0000 (22:30 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Thu, 24 Jul 2014 22:30:08 +0000 (22:30 +0000)
lock address, we can print something even if the lock observation
has no stacktrace.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14190

helgrind/hg_errors.c

index 9a67b77e3bb231cdb1eecbc27c6aca030c42182a..537d98bd730c85e34b9e2dce94aeaecd0f1e52f6 100644 (file)
@@ -764,8 +764,6 @@ static void announce_LockP ( Lock* lk )
    if (lk == Lock_INVALID)
       return; /* Can't be announced -- we know nothing about it. */
    tl_assert(lk->magic == LockP_MAGIC);
-   if (!lk->appeared_at)
-     return; /* There's nothing we can show */
 
    if (VG_(clo_xml)) {
       /* fixme: add announcement */