| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 154802
|
|
|
|
|
|
|
| |
To be used in printing unprintable source in clang diagnostics.
Patch by Seth Cantrell!
llvm-svn: 154800
|
|
|
|
|
|
| |
Thanks to Pino Toscano for the patch
llvm-svn: 154500
|
|
|
|
|
|
| |
Patch by Sylvestre Ledru!
llvm-svn: 153435
|
|
|
|
| |
llvm-svn: 153395
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 147965
|
|
|
|
| |
llvm-svn: 147608
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 146522
|
|
|
|
|
|
|
| |
Original commit message:
Support/FileSystem: Implement canonicalize.
llvm-svn: 146378
|
|
|
|
| |
llvm-svn: 146364
|
|
|
|
| |
llvm-svn: 146363
|
|
|
|
|
|
| |
directory_iterator preserve InputIterator semantics on copy.
llvm-svn: 146200
|
|
|
|
| |
llvm-svn: 143502
|
|
|
|
| |
llvm-svn: 143501
|
|
|
|
| |
llvm-svn: 143452
|
|
|
|
| |
llvm-svn: 140433
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Patch by Joakim Johansson!
llvm-svn: 139743
|
|
|
|
| |
llvm-svn: 137204
|
|
|
|
| |
llvm-svn: 137137
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 136477
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
used for open is 0666. Therefore, add the necessary permission bits for
consistency.
rdar://8621462
llvm-svn: 134430
|
|
|
|
|
|
| |
info in the error message. Per Dan's request.
llvm-svn: 131780
|
|
|
|
|
|
| |
getHostTriple. This fixes a 32 bit clang running on a 64 bit ubuntu.
llvm-svn: 131463
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 130510
|
|
|
|
| |
llvm-svn: 129852
|
|
|
|
|
|
| |
Luis Felipe Strano Moraes!
llvm-svn: 129558
|
|
|
|
| |
llvm-svn: 128218
|
|
|
|
| |
llvm-svn: 128199
|
|
|
|
|
|
|
| |
- glibc falls back to fork+exec if a file actions object is present.
- On BSDs this saves a malloc.
llvm-svn: 127969
|
|
|
|
| |
llvm-svn: 127891
|
|
|
|
| |
llvm-svn: 127417
|
|
|
|
| |
llvm-svn: 127413
|
|
|
|
|
|
| |
support for creating buffers that cover only a part of a file.
llvm-svn: 127409
|
|
|
|
| |
llvm-svn: 125943
|
|
|
|
|
|
| |
I have another way to achieve the same goal.
llvm-svn: 125239
|
|
|
|
| |
llvm-svn: 125236
|
|
|
|
|
|
|
|
|
|
| |
name of a path, after resolving symbolic links and eliminating excess
path elements such as "foo/../" and "./".
This routine still needs a Windows implementation, but I don't have a
Windows machine available. Help? Please?
llvm-svn: 125228
|
|
|
|
| |
llvm-svn: 123604
|
|
|
|
| |
llvm-svn: 123544
|
|
|
|
|
|
| |
PathV2::is_directory.
llvm-svn: 123209
|
|
|
|
|
|
| |
PathV2::fs::exists.
llvm-svn: 123151
|