[LLVMbugs] [Bug 9575] New: clang error reading file in the root directory
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 28 11:04:37 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9575
Summary: clang error reading file in the root directory
Product: clang
Version: 2.7
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rmorylev at gmail.com
CC: llvmbugs at cs.uiuc.edu
There is a file test.c in the root directory.
Command 'clang /test.c' produces following error:
error: error reading '/test.c'
1 diagnostic generated.
The file exists and has read access for everyone.
The issue is probably in FileManager.cpp:getDirectoryFromFile(). It produces
invalid input for FileMgr.getDirectory().
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list