tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Adding new feature - Kcov
>> Why would you store pointers in integers at all? Surely the right
>> thing to do is store them as void * (for data pointers) or
>> void (*)() (for function pointers)...?
> kcov utilizes compiler instrumentation that uses low-lever, below the
> C and C++ language (or runtime), thus here it doesn't matter what's
> the exact storage type of a pointer. For simplicity of a kCov
> runtime we store the pointers as integers.
If it's that machine-dependent, shouldn't this be on the relevant
port-* list(s), rather than tech-kern? Or am I missing something else?
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index