https://issues.dlang.org/show_bug.cgi?id=14511

jj75...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jj75...@gmail.com

--- Comment #5 from jj75...@gmail.com ---
Profiler fails with atomic operations:

import core.atomic;

shared struct S
{    
    uint counter;

    bool inc() shared
    {
        atomicOp!("+=")(counter, 1);
        return true;
    }
}

int main(string[] argv)
{
    S s;

    return 0;
}

This program segfaults if compiled with profiler hooks

--

Reply via email to