https://github.com/vim/vim/pull/10557
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Merging #10557 (c5b8aa5) into master (a34b446) will decrease coverage by
4.79%.
The diff coverage isn/a.
@@ Coverage Diff @@ ## master #10557 +/- ## ========================================== - Coverage 81.68% 76.88% -4.80% ========================================== Files 158 148 -10 Lines 185318 146696 -38622 Branches 41908 38300 -3608 ========================================== - Hits 151368 112786 -38582 - Misses 21500 22216 +716 + Partials 12450 11694 -756
| Flag | Coverage Δ | |
|---|---|---|
| huge-clang-none | ? |
|
| linux | ? |
|
| mingw-x64-HUGE | 0.00% <ø> (ø) |
|
| mingw-x64-HUGE-gui | 78.10% <ø> (+<0.01%) |
⬆️ |
| windows | 76.88% <ø> (+<0.01%) |
⬆️ |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/xdiff/xpatience.c | 0.00% <0.00%> (-81.99%) |
⬇️ |
| src/xdiff/xhistogram.c | 0.00% <0.00%> (-72.42%) |
⬇️ |
| src/hardcopy.c | 10.87% <0.00%> (-66.40%) |
⬇️ |
| src/if_cscope.c | 4.88% <0.00%> (-63.78%) |
⬇️ |
| src/beval.c | 1.62% <0.00%> (-60.97%) |
⬇️ |
| src/libvterm/src/mouse.c | 0.00% <0.00%> (-41.94%) |
⬇️ |
| src/debugger.c | 49.39% <0.00%> (-40.38%) |
⬇️ |
| src/sound.c | 28.26% <0.00%> (-36.11%) |
⬇️ |
| src/mouse.c | 47.86% <0.00%> (-31.16%) |
⬇️ |
| src/libvterm/src/keyboard.c | 15.58% <0.00%> (-26.81%) |
⬇️ |
| ... and 138 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update a34b446...c5b8aa5. Read the comment docs.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
any comments?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@yegappan pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Recent MSYS2 provides two types of Clang compilers:
/mingw{64,32}/bin directory. Usable via the C:\msys64\mingw{64,32}.exe shell. (In my understanding,) ASAN is not available.mingw-w64-{x86_64,i686}-clang, etc./clang{64,32}/bin directory. Usable via the C:\msys64\clang{64,32}.exe shell. ASAN is available.mingw-w64-clang-{x86_64,i686}-clang, etc.See https://www.msys2.org/docs/environments/ for detail.
If one wants to use clang on MSYS2, the CLANG{64,32} environments might be better.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@k-takata commented on this pull request.
> @@ -282,6 +282,27 @@ This command is in msys32.bat. Or for the 64 bit compiler use msys64.bat: If you have msys64 in another location you will need to adjust the paths for that. +2.5. Build Vim with Clang + +The following package group is required for building Vim with Clang: + +* mingw-w64-x86_64-clang + +Use the following command to install it: + + $ pacman -S mingw-w64-x86_64-clang + +Go to the source directory of Vim, then execute the make command. E.g.: + + CC=clang
Isn't CXX=clang++ needed when OLE or DIRECTX is set to yes?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Recent MSYS2 provides two types of Clang compilers:
- Installed in the
/mingw{64,32}/bindirectory. Usable via theC:\msys64\mingw{64,32}.exeshell. (In my understanding,) ASAN is not available.
Packages:mingw-w64-{x86_64,i686}-clang, etc.
- Installed in the
/clang{64,32}/bindirectory. Usable via theC:\msys64\clang{64,32}.exeshell. ASAN is available.
Packages:mingw-w64-clang-{x86_64,i686}-clang, etc.See https://www.msys2.org/docs/environments/ for detail.
If one wants to use clang on MSYS2, the CLANG{64,32} environments might be better.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I am able to build Vim with ASAN with this
compiler.
That is nice. When I asked the msys2 team last year, ASAN was available only on the clang{64,32} environment:
msys2/MINGW-packages#8476
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
Hmm, I couldn't build with the MINGW64 version of clang:
$ clang++ -O1 -g -fsanitize=address -fno-omit-frame-pointer example_UseAfterFree.cc
C:/msys64/mingw64/bin/ld: cannot find C:/msys64/mingw64/lib/clang/14.0.4/lib/windows/libclang_rt.asan_dynamic-x86_64.dll.a: No such file or directory
C:/msys64/mingw64/bin/ld: cannot find C:/msys64/mingw64/lib/clang/14.0.4/lib/windows/libclang_rt.asan_dynamic_runtime_thunk-x86_64.a: No such file or directory
C:/msys64/mingw64/bin/ld: cannot find C:/msys64/mingw64/lib/clang/14.0.4/lib/windows/libclang_rt.asan_dynamic_runtime_thunk-x86_64.a: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
example_UseAfterFree.cc is coming from the official document of clang:
https://clang.llvm.org/docs/AddressSanitizer.html
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
Hmm, I couldn't build with the MINGW64 version of clang:
$ clang++ -O1 -g -fsanitize=address -fno-omit-frame-pointer example_UseAfterFree.cc C:/msys64/mingw64/bin/ld: cannot find C:/msys64/mingw64/lib/clang/14.0.4/lib/windows/libclang_rt.asan_dynamic-x86_64.dll.a: No such file or directory C:/msys64/mingw64/bin/ld: cannot find C:/msys64/mingw64/lib/clang/14.0.4/lib/windows/libclang_rt.asan_dynamic_runtime_thunk-x86_64.a: No such file or directory C:/msys64/mingw64/bin/ld: cannot find C:/msys64/mingw64/lib/clang/14.0.4/lib/windows/libclang_rt.asan_dynamic_runtime_thunk-x86_64.a: No such file or directory clang++: error: linker command failed with exit code 1 (use -v to see invocation)
example_UseAfterFree.ccis coming from the official document of clang:
https://clang.llvm.org/docs/AddressSanitizer.html
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()