Displaying 1 result from an estimated 1 matches for "20bd136e".
2014 Aug 19
2
[LLVMdev] [RFC] Adding functions for unaligned load/store to Support for JIT/RuntimeDyld
Hi,
I've noticed that certain parts of LLVM (RuntimeDyld, JIT) use unaligned
memory accesses to load/store pointers or just 32- or 64-bit integers.
Technically, this is undefined behavior, and UBSan reports errors when this
happens. Even if we believe we're running some x86-specific code (e.g.
RuntimeDyldELF::resolveX86_64Relocation) what matters for unaligned acceses
in source code is