https://bugs.llvm.org/show_bug.cgi?id=38454
Bug ID: 38454
Summary: clang++ compilation quite slow
Product: clang
Version: 6.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: x...@sina.com
CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
1.
the same cpp file , if compiled by clang need 4.5s, g++ only need 0.3s
[alex@c++]$time clang++ -g -std=c++11 -I/usr/include/c++/4.8.5
/home/alex/base/c++/hello.cpp -ohello.exe
real 0m4.543s
user 0m4.493s
sys 0m0.049s
[alex@c++]$time g++ -g -std=c++11 -I/usr/include/c++/4.8.5
/home/alex/base/c++/hello.cpp -ohello.exe
real 0m0.300s
user 0m0.259s
sys 0m0.042s
[alex@c++]$
2. sw:
llvm/clang 6.01
gcc 4.85
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs