[asan] properly report an un-aligned global variable instead of just crashing
authorKostya Serebryany <kcc@google.com>
Sat, 6 Feb 2016 03:22:24 +0000 (03:22 +0000)
committerKostya Serebryany <kcc@google.com>
Sat, 6 Feb 2016 03:22:24 +0000 (03:22 +0000)
commitc02ed2a8e2e8cdbc55db546ce2ba5c7004d5eb64
tree0f10b3f2aeba1da325fec3793ace023dad77f1dd
parentcfc83bc70779230a368325b27a02f37e030d272d
[asan] properly report an un-aligned global variable instead of just crashing

llvm-svn: 259979
compiler-rt/lib/asan/asan_globals.cc
compiler-rt/test/asan/TestCases/Linux/odr_c_test.c [new file with mode: 0644]