Commit 253b27d4 authored by Sandipan Das's avatar Sandipan Das

Update USDT argument constraint for powerpc and powerpc64

This updates the USDT argument constraint for powerpc and
powerpc64 from 'nQr' to 'nZr'. The 'Q' memory constraint
will allow a memory operand only if it is an offset from
a register. The 'Z' memory constraint is similar but will
additionally allow a memory operand that is an indexed or
indirect from a register. This offers more flexibility.
Signed-off-by: default avatarSandipan Das <sandipan@linux.vnet.ibm.com>
parent 38dfff67
......@@ -19,7 +19,7 @@
// Default constraint for the probe arguments as operands.
#ifndef FOLLY_SDT_ARG_CONSTRAINT
#if defined(__powerpc64__) || defined(__powerpc__)
#define FOLLY_SDT_ARG_CONSTRAINT "nQr"
#define FOLLY_SDT_ARG_CONSTRAINT "nZr"
#else
#define FOLLY_SDT_ARG_CONSTRAINT "nor"
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment