[PATCH] Fix ubsan error in ValueMap

Matt Arsenault Matthew.Arsenault at amd.com
Thu Nov 6 13:27:55 PST 2014


Hi rsmith,

Fixes "llvm/IR/ValueMap.h:210:65: runtime error: upcast of misaligned address 0xfffffffffffffffc for type 'llvm::AllocaInst', which requires 8 byte alignment
0xfffffffffffffffc: note: pointer points here"

http://reviews.llvm.org/D6155

Files:
  include/llvm/IR/ValueMap.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6155.15890.patch
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141106/aac5082e/attachment.bin>


More information about the llvm-commits mailing list