Merge branch 'jk/build-with-asan'
commit757e9874be785ef23980034b41c91c7d9db55661
authorJunio C Hamano <gitster@pobox.com>
Thu, 13 Jul 2017 23:14:54 +0000 (13 16:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Jul 2017 23:14:54 +0000 (13 16:14 -0700)
tree6406257b717bc7dcd02fe3051cc28bd62d56136c
parentc9c63ee558ce3399bd2016388da9676d4f5ecf55
parent566cf0b3bd6458a74e8a3df8c01d27f35e7814f2
Merge branch 'jk/build-with-asan'

The build procedure has been improved to allow building and testing
Git with address sanitizer more easily.

* jk/build-with-asan:
  Makefile: disable unaligned loads with UBSan
  Makefile: turn off -fomit-frame-pointer with sanitizers
  Makefile: add helper for compiling with -fsanitize
  test-lib: turn on ASan abort_on_error by default
  test-lib: set ASAN_OPTIONS variable before we run git
Makefile
t/test-lib.sh