> When PIC is in effect, the Global Offset Table (GOT) is utilized.
> Under the Linux ABI, that means EBX/RBX must be preserved because it
> holds the pointer to the GOT.

If the GOT pointer register is getting trashed by inline assembly, I'd
imagine your program would crash very shortly afterwards, in a somewhat
obvious way (if you're proficient at reading assembly that is).

Also, if the inline asm is wrong, different optimisation levels may well
have different effects.  Is it -O level dependent?

You list a bunch of memory-error checking tools (Memcheck, ASan, etc) but
don't say anything about race-checking (Helgrind, DRD, TSan, etc).  Did you
check for races and other threading problems?

J



------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to