commit | b58fb4aac63e729fbbe7a47a03296c9f3c5ec5ff | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Fri Nov 14 17:15:00 2014 -0800 |
committer | Dan Albert <danalbert@google.com> | Fri Dec 05 14:52:56 2014 -0800 |
tree | db5f836a6b252eeb489f2c243a77a2409756afe6 | |
parent | 37979c5749bfa516094080f9e8a5c0f387273c5b [diff] |
Let clang decide ASan linker flags for the host. Pass -fsanitize=address instead of manually specifying asan libraries and other linker flags. Note that we enable LOCAL_ALLOW_UNDEFINED_SYMBOLS by default for host builds because ASAN only links symbols in the final executable, so there will _always_ be undefined symbols in intermediate libraries. Bug: 18208352 Change-Id: Ief55ab296e94974560eeb10507ec8d90f0025d5c