<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi everybody,</div><div><br></div><div>I just started hacking on a small command line tool and</div><div>when I try to get a file with the following code it always gives</div><div>me an empty address. <br></div><div><br></div><div>main.exe c:\test.c </div><div><br></div><div>The same code compiled and running on linux works just fine.</div><div><br></div><div>int main (int argc, char **argv)<br>{<br> int ret = 0;<br><br> clang::FileManager *fm = new clang::FileManager(clang::FileSystemOptions());<br> const clang::FileEntry* file = fm->getFile(llvm::StringRef(argv[1]));<span class="tab"> </span><br><br> return(ret);<br>}</div><div><br></div><div>Is it a bug? I hope anybody can help me?</div><div><br></div><div>Thanks in
advance,</div><div>Peter<br></div></div></body></html>