[LLVMbugs] [Bug 14291] New: Issues found by building clang with -fsanitize=undefined
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Nov 8 05:45:01 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14291
Bug #: 14291
Summary: Issues found by building clang with
-fsanitize=undefined
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: markus at trippelsdorf.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Building clang with:
CC="clang
-fsanitize=alignment,divide-by-zero,float-cast-overflow,null,object-size,return,shift,signed-integer-overflow,unreachable,vla-bound
-w" CXX="clang++
-fsanitize=alignment,divide-by-zero,float-cast-overflow,null,object-size,return,shift,signed-integer-overflow,unreachable,vla-bound
-w" ../llvm/llvm/configure --enable-keep-symbols --enable-optimized
--enable-targets=host
--with-binutils-include=/usr/lib/binutils/x86_64-pc-linux-gnu/git/include
--with-cxx-include-arch=/x86_64-pc-linux-gnu --disable-assertions
--with-extra-options="-march=native"
--with-extra-ld-options="-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections,--icf=all,--icf-iterations=3"
make
leads to the following two issues:
llvm/lib/Analysis/ValueTracking.cpp:436:19: fatal error: member call on null
pointer of type 'llvm::DataLayout'
llvm/tools/clang/lib/Sema/../../include/clang/AST/TypeLoc.h:1525:27: fatal
error: member access within misaligned address 0x4c149b4 for type
'clang::Elabor
atedLocInfo', which requires 8 byte alignment
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list