[PATCH] D118307: [gn build] Add support for check-asan
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 27 10:00:39 PST 2022
aeubanks created this revision.
aeubanks updated this revision to Diff 403467.
aeubanks added a comment.
aeubanks updated this revision to Diff 403713.
aeubanks updated this revision to Diff 403714.
aeubanks edited the summary of this revision.
aeubanks added a reviewer: thakis.
aeubanks published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
update
aeubanks added a comment.
update
aeubanks added a comment.
update
With these changes, check-asan passes on Linux and Windows.
There are a couple libraries we need to add support for, asan_static, asan_preinit, and the shared library version of asan proper.
Since we need to build the asan proper sources twice, once with -DASAN_DYNAMIC and once without, those sources are no longer in a source_set.
Much of the check-asan target is taken from the existing check-hwasan target.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118307
Files:
llvm/utils/gn/build/BUILD.gn
llvm/utils/gn/secondary/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/test/asan/BUILD.gn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118307.403714.patch
Type: text/x-patch
Size: 20939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/56f914c3/attachment-0001.bin>
More information about the llvm-commits
mailing list