- Apr 23, 2012
-
-
Sylvestre Ledru authored
The problem is that the struct file_status on UNIX systems has two members called st_dev and st_ino; those are also members of the struct stat, and they are reserved identifiers which can also be provided as #define (and this is the case for st_dev on Hurd). The solution (attached) is to rename them, for example adding a "fs_" prefix (= file status) to them. Patch by Pino Toscano llvm-svn: 155354
-
- Apr 16, 2012
-
-
Benjamin Kramer authored
To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell, with a minor fix for mingw by me. llvm-svn: 154805
-
Argyrios Kyrtzidis authored
llvm-svn: 154802
-
Argyrios Kyrtzidis authored
To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell! llvm-svn: 154800
-
- Apr 11, 2012
-
-
Sylvestre Ledru authored
Thanks to Pino Toscano for the patch llvm-svn: 154500
-
- Mar 26, 2012
-
-
Anton Korobeynikov authored
Patch by Sylvestre Ledru! llvm-svn: 153435
-
- Mar 24, 2012
-
-
Jean-Daniel Dupas authored
llvm-svn: 153395
-
- Feb 09, 2012
-
-
David Blaikie authored
Unify default construction of error_code uses on this idiom so that users don't feel compelled to make static globals for naming convenience. (unfortunately I couldn't make the original ctor private as some APIs don't return their result, instead using an out parameter (that makes sense to default construct) - which is a bit of a pity. I did, however, find/fix some cases of unnecessary default construction of error_code before I hit the unfixable cases) llvm-svn: 150197
-
- Jan 15, 2012
-
-
Chandler Carruth authored
or Clang is using this, and it would be hard to use it correctly given the thread hostility of the function. Also, it never checked the return which is rather dangerous with chdir. If someone was in fact using this, please let me know, as well as what the usecase actually is so that I can add it back and make it more correct and secure to use. (That said, it's never going to be "safe" per-se, but we could at least document the risks...) llvm-svn: 148211
-
- Jan 11, 2012
-
-
Argyrios Kyrtzidis authored
llvm-svn: 147965
-
- Jan 05, 2012
-
-
Sebastian Pop authored
llvm-svn: 147608
-
- Jan 04, 2012
-
-
Sebastian Pop authored
Get back getHostTriple. For JIT compilation, use the host triple instead of the default target: this fixes some JIT testcases that used to fail when the compiler has been configured as a cross compiler. llvm-svn: 147542
-
- Dec 14, 2011
-
-
Michael J. Spencer authored
llvm-svn: 146522
-
- Dec 12, 2011
-
-
Chad Rosier authored
Original commit message: Support/FileSystem: Implement canonicalize. llvm-svn: 146378
-
Michael J. Spencer authored
llvm-svn: 146364
-
Michael J. Spencer authored
llvm-svn: 146363
-
- Dec 08, 2011
-
-
Michael J. Spencer authored
directory_iterator preserve InputIterator semantics on copy. llvm-svn: 146200
-
- Nov 01, 2011
-
-
Sebastian Pop authored
llvm-svn: 143502
-
Sebastian Pop authored
llvm-svn: 143501
-
Eli Friedman authored
llvm-svn: 143452
-
- Sep 24, 2011
-
-
Daniel Dunbar authored
llvm-svn: 140433
-
- Sep 21, 2011
-
-
Bob Wilson authored
This was only needed to locate llvm-gcc's installation directory when clang falls back to run llvm-gcc for i386 kexts. As of clang svn r140187, we're now just searching paths with several different Darwin versions on either side of the current version, so this is no longer needed. llvm-svn: 140188
-
- Sep 14, 2011
-
-
Bill Wendling authored
Patch by Joakim Johansson! llvm-svn: 139743
-
- Aug 10, 2011
-
-
Bob Wilson authored
llvm-svn: 137204
-
- Aug 09, 2011
-
-
Bob Wilson authored
llvm-svn: 137137
-
Bob Wilson authored
When this variable is set, "uname -r" will return its value instead of the real OS version. Make this affect LLVM's triple for consistency. <rdar://problem/9919167> llvm-svn: 137111
-
- Jul 29, 2011
-
-
Nick Lewycky authored
llvm-svn: 136477
-
Nick Lewycky authored
screwy things by setting PWD != getcwd(). For example, some developers I know will use this to control the value in gcc's DW_AT_comp_dir value in debug output. With this patch, that trick will now work on clang too. The only other effect of this change is that the static analysis will now respect $PWD when reporting the directory of the files in its HTML output. I think that's fine. llvm-svn: 136459
-
- Jul 28, 2011
-
-
Argyrios Kyrtzidis authored
If true and 'model' parameter is not an absolute path, a temp directory will be prepended. Make it true by default to match current behaviour. llvm-svn: 136310
-
- Jul 05, 2011
-
-
Chad Rosier authored
used for open is 0666. Therefore, add the necessary permission bits for consistency. rdar://8621462 llvm-svn: 134430
-
- May 21, 2011
-
-
Andrew Trick authored
info in the error message. Per Dan's request. llvm-svn: 131780
-
- May 17, 2011
-
-
Rafael Espindola authored
getHostTriple. This fixes a 32 bit clang running on a 64 bit ubuntu. llvm-svn: 131463
-
- May 11, 2011
-
-
Andrew Trick authored
This change allows bugpoint to pinpoint the "opt" pass and bitcode segment responsible for a crash caused by miscompilation. At least it works well for me now, without having to create any custom execution wrappers. llvm-svn: 131186
-
- Apr 29, 2011
-
-
Douglas Gregor authored
llvm-svn: 130510
-
- Apr 20, 2011
-
-
Daniel Dunbar authored
llvm-svn: 129852
-
- Apr 15, 2011
-
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129558
-
- Mar 24, 2011
-
-
Andrew Trick authored
llvm-svn: 128218
-
Michael J. Spencer authored
llvm-svn: 128199
-
- Mar 20, 2011
-
-
Benjamin Kramer authored
- glibc falls back to fork+exec if a file actions object is present. - On BSDs this saves a malloc. llvm-svn: 127969
-
- Mar 18, 2011
-
-
Jim Grosbach authored
llvm-svn: 127891
-