-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mull corrupted LLVM module. cxx_logical_and_to_or #1077
Comments
Hi @correaa, could you share more information about the setup under which the issue is happening? I tried reproducing it against |
Is this good to replicate the problem? https://gitlab.com/correaa/boost-multi/-/jobs/8733770928#L646 The commands are $ curl -1sLf 'https://dl.cloudsmith.io/public/mull-project/mull-stable/setup.deb.sh' | bash
$ apt-get -qq update
$ apt-get -qq install --no-install-recommends -y --quiet mull-16 libclang-cpp16
$ git clone https://github.com/correaa/boost-multi.git
$ cd boost-multi
$ mkdir build && cd build
$ CXX=clang++-16 cmake .. -DCMAKE_CXX_FLAGS="-O1 -fpass-plugin=/usr/lib/mull-ir-frontend-16 -g -grecord-command-line -fprofile-instr-generate -fcoverage-mapping"
$ cmake --build . --parallel 2 |
@correaa thank you, I've got the reproducer now 🥳 One more needed command: apt-get -qq install --no-install-recommends -y --quiet gnupg curl wget ca-certificates clang-16 cmake libclang-rt-16-dev make libboost-timer-dev libboost-serialization-dev libblas-dev libfftw3-dev liblapack-dev pkg-config |
Reproducer: /usr/bin/clang++-17 -I/workspaces/mull/boost-multi/include -O1 -fpass-plugin=/usr/lib/mull-ir-frontend-17 -g -grecord-command-line -fprofile-instr-generate -o allocator.cpp.o -c /workspaces/mull/boost-multi/test/allocator.cpp Interestingly enough, removal of Next step: creduce the input and add an integration test showing the problem in isolation. |
ok, can I safely remove that option? Since I don't know what these options do, I am afraid to invalidate the whole mutation testing. That is the reason I am tiptoeing with the automated system. |
You can safely remove it unless you use code coverage support in mull, i.e. https://mull.readthedocs.io/en/0.24.0/tutorials/ControlMutationsTutorial.html I identified the underlying problem, but can't give an ETA for the solution as it's not very trivial. |
thanks, I don't know what the code coverage support does exactly. I have a coverage run, I could run it at the same time with mull but I don't understand the mechanics. https://app.codecov.io/gl/correaa/boost-multi/tree/master/include%2Fboost%2Fmulti |
The idea is to collect coverage information for a certain run and then only consider mutants that were actually executed. It eliminates the problem when unreachable mutants are reported as survived. |
I see, it makes sense.
Although another (inefficient, non-intended) use of mull could be to detect
missing coverage.
I am using it like that.
…On Mon, Dec 30, 2024 at 11:28 AM Alex Denisov ***@***.***> wrote:
thanks, I don't know what the code coverage support does exactly. Mull can
be more efficient if it know the coverage before hand?
I have a coverage run, I could run it at the same time with mull but I
don't understand the mechanics.
https://app.codecov.io/gl/correaa/boost-multi/tree/master/include%2Fboost%2Fmulti
The idea is to collect coverage information for a certain run and then
only consider mutants that were actually executed. It eliminates the
problem when unreachable mutants are reported as survived.
—
Reply to this email directly, view it on GitHub
<#1077 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXICU4CFYTBWPTLHCZKBIT2IGNENAVCNFSM6AAAAABUFMKZUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRVHA2DCOJYHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have a mull configuration working fairly well.
When I add
- ccx_logical_and_to_or
I get this error message during exit.The same thing happens with
- cxx_logical_or_to_and
This is the full
mull.yml
file:The text was updated successfully, but these errors were encountered: