[llvm-bugs] [Bug 35558] New: Make possible to suspend and resume libclang

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 7 04:10:37 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35558

            Bug ID: 35558
           Summary: Make possible to suspend and resume libclang
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ivan.donchevskii at qt.io
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Currently llvm can open any files that are included in translation unit during
parse/reparse. If that takes long we might have time windows when particular
handles are kept by llvm.
The idea is to introduce call like clang_suspend or clang_filesAccessSuspend
which can reach the point when file handle is freed and lock llvm from further
files access. (also the resume that makes opposite)
This might solve problems with removing header files when they are opened by
LLVM with specific flags under windows (share them for deletion does not always
help)

-- 
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/20171207/732c8d7c/attachment.html>


More information about the llvm-bugs mailing list