Improve FMQ pointer corruption diagnostics

Since sometimes an abort stack is the only information
available, it is useful to have suspicious pointer values
in the abort message. For that, it must be generated
by the FMQ implementation itself as the client does not
have access to the pointers.

Because of that, change the parameter introduced by
aosp/3073435 to an optional enum and an error string.

Bug: 338974476
Test: m
Change-Id: Ib9d61c787a9e1cd1197503aed698bc1e7e61bc87
1 file changed
tree: 1d3f42b8ca2bdf939d7eb5b42adbe450d0ccdc03
  1. base/
  2. benchmarks/
  3. fuzzer/
  4. include/
  5. tests/
  6. Android.bp
  7. EventFlag.cpp
  8. FmqInternal.cpp
  9. OWNERS
  10. PREUPLOAD.cfg
  11. TEST_MAPPING