https://bugs.kde.org/show_bug.cgi?id=515505

Igor Kushnir <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #7 from Igor Kushnir <[email protected]> ---
Reproduced the crash at the first attempt.

I don't see anything wrong in the definition of Visitor::setTypeSize(). We
assign the return value of clang_getCanonicalType() to `type`, then pass `type`
to clang_Type_getSizeOf(), which has no preconditions. Then the crash occurs in
a libclang function invoked from within this clang_Type_getSizeOf() call.

Looks like a libclang bug. Do you care to try and follow the step 3 in my
previous comment and possibly report the bug at
https://github.com/llvm/llvm-project/issues ?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to