[llvm-bugs] [Bug 28535] New: Preamble is also generated for the second reparse on Windows
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jul 13 02:36:19 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28535
Bug ID: 28535
Summary: Preamble is also generated for the second reparse on
Windows
Product: clang
Version: 3.8
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: libclang
Assignee: unassignedclangbugs at nondot.org
Reporter: nikolai.kosjar at qt.io
CC: klimek at google.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16736
--> https://llvm.org/bugs/attachment.cgi?id=16736&action=edit
sources (libclangclient.cpp) and test input to reproduce the problem
Compile the attached libclangclient.cpp in debug mode.
Then run the executable:
> set LIBCLANG_TIMING=1
> libclangclient.exe /path/to/main.cpp
file path: D:\work\libclang38winMultiplePreambleGenerations\testsource\main.cpp
Parsing D:\work\libclang38winMultiplePreambleGenerations\testsource\main.cpp:
-----
Precompiling preamble: 0.0156 (100.0%) 0.0156 (100.0%) 0.0156 (100.0%)
Reparsing D:\work\libclang38winMultiplePreambleGenerations\testsource\main.cpp:
0.0156 (100.0%) 0.0156 (100.0%)
0.0156 (100.0%)
Precompiling preamble: -----
Reparsing D:\work\libclang38winMultiplePreambleGenerations\testsource\main.cpp:
0.0156 (100.0%)
Note that the preamble is not only generated for the first reparse, but also
for the second.
This does not happen on Linux, there it's only generated for the very first
reparse.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160713/fc8f42ab/attachment.html>
More information about the llvm-bugs
mailing list