[LLVMbugs] [Bug 18450] New: SEGFAULT 11 when clang_findIncludesInFile() for UnsavedFile with no inclusions
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jan 12 09:58:34 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18450
Bug ID: 18450
Summary: SEGFAULT 11 when clang_findIncludesInFile() for
UnsavedFile with no inclusions
Product: clang
Version: 3.3
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: libclang
Assignee: unassignedclangbugs at nondot.org
Reporter: dev at antonsmirnov.name
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
unsavedfile with content with no inclusions (#include).
clang_toggleCrashRecovery(1) // ok
clang_parseTranslationUnit() // ok
parsing options =
Incomplete
| DetailedPreprocessingRecord
| PrecompiledPreamble;
clang_findIncludesInFile() // crash, no return code is invoked
one more thing: clang_toggleCrashRecovery was invoked with 1 but still crashes!
tested on 3.3 release (can't test with trunk)
--
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/20140112/18d088a0/attachment.html>
More information about the llvm-bugs
mailing list