Displaying 3 results from an estimated 3 matches for "b5aabc4b".
2018 Jun 01
0
Miscompilation while switching from clang-4 to clang-5
...isov
Software Engineer, https://lowlevelbits.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180601/b5aabc4b/attachment.sig>
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 31
2
Miscompilation while switching from clang-4 to clang-5
Hi Tom, hi Michael,
Thank you for your help.
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
The first command produces a working executable, while the other one does not.
I'm trying to