Displaying 4 results from an estimated 4 matches for "symbolrewriter".
2018 Jun 01
2
Miscompilation while switching from clang-4 to clang-5
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
2018 May 31
1
Miscompilation while switching from clang-4 to clang-5
On 31 May 2018 at 08:41, Alex Denisov via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> I understand the linking problem. What I do not understand is how to debug the difference between two versions of compilers.
> This what I do (briefly):
>
> clang++-4 foobar.cpp -lLLVM -l/opt/llvm-3.9/lib
>
> clang++-5 foobar.cpp -lLLVM -l/opt/llvm-3.9/lib
If you add -v then Clang will
2018 May 30
3
Miscompilation while switching from clang-4 to clang-5
Hello everyone,
I observe a weird behavior switching from clang-4 to clang-5 (and any higher version).
I compile an executable that depends on LLVM. Everything works fine with clang-4, but when I run the executable compiled with clang-5 I see the following error:
: CommandLine Error: Option 'rewrite-map-file' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...build
llvm[3]: Compiling SimplifyInstructions.cpp for Release+Asserts build
llvm[2]: Compiling MemoryDependenceAnalysis.cpp for Release+Asserts build
llvm[3]: Compiling SimplifyLibCalls.cpp for Release+Asserts build
llvm[3]: Compiling X86ExpandPseudo.cpp for Release+Asserts build
llvm[3]: Compiling SymbolRewriter.cpp for Release+Asserts build
llvm[2]: Compiling MemoryLocation.cpp for Release+Asserts build
llvm[3]: Compiling X86FastISel.cpp for Release+Asserts build
llvm[3]: Compiling SelectionDAGBuilder.cpp for Release+Asserts build
llvm[2]: Compiling ModuleDebugInfoPrinter.cpp for Release+Asserts build
llv...