================
@@ -108,3 +157,35 @@ bool RegisterContextFreeBSDKernel_arm64::WriteRegister(
     const RegisterInfo *reg_info, const RegisterValue &value) {
   return false;
 }
+
+int64_t RegisterContextFreeBSDKernel_arm64::GetOsreldate() {
----------------
DavidSpickett wrote:

I'm looking at 
https://github.com/search?q=repo%3Afreebsd%2Ffreebsd-src%20osreldate&type=code 
and wondering if this is in fact an int64_t. It's declared as `int` in most 
places I see.

My concern is that the code below that reads 8 bytes might pick up some random 
values in the other 4 bytes. Unless I have misunderstood and the C APIs use int 
but the storage is in fact 64-bit.

https://github.com/llvm/llvm-project/pull/180222
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to