File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4242 latest-factors : |
4343 msvc Optimized-Debug
4444 gcc UBSan Coverage
45- clang UBSan
45+ clang UBSan ASan
4646 factors : ' '
4747 runs-on : |
4848 apple-clang: macos-15
7575 llvm-root: ../third-party/llvm-project/install
7676 llvm-archive-extension: {{#if (ieq os 'windows') }}7z{{else}}tar.bz2{{/if}}
7777 llvm-archive-filename: {{{ llvm-archive-basename }}}.{{{ llvm-archive-extension }}}
78+ llvm-sanizizer-config: {{#if (ne compiler 'clang')}}{{else if ubsan}}Undefined{{else if asan}}Address{{/if}}
7879 mrdocs-ccflags: {{{ ccflags }}} {{#if (and (eq compiler 'gcc') (not asan)) }}-static{{/if}}
7980 mrdocs-cxxflags: {{{ cxxflags }}} {{#if (and (eq compiler 'gcc') (not asan)) }}-static{{/if}}
8081 mrdocs-package-generators: {{#if (ieq os 'windows') }}7Z ZIP WIX{{else}}TGZ TXZ{{/if}}
@@ -263,8 +264,7 @@ jobs:
263264 ${{ runner.os == 'Windows' && '-DLLVM_ENABLE_RUNTIMES=libcxx' || '-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;libunwind' }}
264265 # The UBSan vptr sanitizer needs RTTI.
265266 ${{ matrix.ubsan && '-DLLVM_ENABLE_RTTI=ON' }}
266- # The LLVM_USE_SANITIZER option doesn't support GCC.
267- ${{ !matrix.compiler == 'gcc' && matrix.ubsan && '-DLLVM_USE_SANITIZER=Undefined' }}
267+ -DLLVM_USE_SANITIZER=${{ matrix.llvm-sanitizer-config }}
268268 cc : ${{ steps.setup-cpp.outputs.cc }}
269269 cxx : ${{ steps.setup-cpp.outputs.cxx }}
270270 generator : Ninja
You can’t perform that action at this time.
0 commit comments