process all volatile ints correctly in traces

This commit is contained in:
mpilman 2019-03-15 09:11:05 -07:00
parent 9938a49c1e
commit bb82f8560a
2 changed files with 6 additions and 4 deletions

View File

@ -39,10 +39,6 @@ u32 sqlite3VdbeSerialGet(const unsigned char*, u32, Mem*);
#define sqlite3_mutex_leave(x)
#endif
FORMAT_TRACEABLE(volatile long long, "%lld");
FORMAT_TRACEABLE(volatile unsigned long long, "%llu");
FORMAT_TRACEABLE(volatile double, "%g");
void hexdump(FILE *fout, StringRef val);
/*#undef state

View File

@ -162,6 +162,12 @@ FORMAT_TRACEABLE(unsigned long int, "%lu");
FORMAT_TRACEABLE(long long int, "%lld");
FORMAT_TRACEABLE(unsigned long long int, "%llu");
FORMAT_TRACEABLE(double, "%g");
FORMAT_TRACEABLE(volatile long, "%ld");
FORMAT_TRACEABLE(volatile unsigned long, "%lu");
FORMAT_TRACEABLE(volatile long long, "%lld");
FORMAT_TRACEABLE(volatile unsigned long long, "%llu");
FORMAT_TRACEABLE(volatile double, "%g");
template<>
struct Traceable<UID> : std::true_type {