[PATCH] [AArch64] [DFSan] Adding support of AArch64 for DFSan

Kumar Sukhani kumarsukhani at gmail.com
Tue May 12 03:41:18 PDT 2015


@rengolin

> > AAarch64 has only 39 addressable bits not like MIPS64 which has 40 addressable bits.

> 

> 

> Not all AArch64 is 39bits, some are 42bits.

> 

> We had this discussion in the ASAN side, and allowing 42bits made it work on those machines while it didn't increase memory footprint that much for 39bits, so assuming 42 was preferred. If here we have the same case, I'd guess taking the same assumption would be the way to go.


In ASAN code I see

  kAArch64_ShadowOffset64 = 1ULL << 36;

which will limit the upper memory to 0x7fffffffff.


http://reviews.llvm.org/D9649

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list