[llvm-dev] Miscompilation while switching from clang-4 to clang-5

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 1 10:32:42 PDT 2018


2018-06-01 2:06 GMT-05:00 Alex Denisov <1101.debian at gmail.com>:
> If there are any other hints: send them my way :)

Debug with gdb, but a breakpoint at
https://github.com/llvm-mirror/llvm/blob/master/lib/Transforms/Utils/SymbolRewriter.cpp#L91.
It should hit twice (which is the error reported). At each break you
can look at where the machine code is coming from (e.g. a shared
object), and which static analyzer calls it.

Michael


More information about the llvm-dev mailing list