[Openmp-commits] [PATCH] D41853: [OMPT] Fix cast and printf of wait_id in lock test

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 9 23:04:17 PST 2018


Hahnfeld added a comment.

In https://reviews.llvm.org/D41853#971265, @protze.joachim wrote:

> But `(uint64_t) &lock` actually extends the 32-bit address to 64-bit signed integer: fffef9c8 -> fffffffffffef9c8
>  This is the same value as provided by the callback function.


Yes, that's the "problem": For `FileCheck` to succeed, the value needs to be the same.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D41853





More information about the Openmp-commits mailing list