| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 99917
|
|
|
|
|
|
|
|
|
| |
Otherwise, e.g. in the invocation like clang -DFOO=\"bar\" FOO macro
got the bar value, not "bar".
Patch by Alexander Esilevich!
llvm-svn: 99763
|
|
|
|
|
|
|
|
| |
in the header. How can both clang and gcc accept this?
PR6703
llvm-svn: 99658
|
|
|
|
|
|
|
|
| |
libstdc++'s std::string class points to the interior of an allocation, valgrind
reports strings still alive at program termination as possible leaks. I didn't
use a ManagedStatic for this because System can't depend on Support.
llvm-svn: 98716
|
|
|
|
|
|
|
| |
to re-instrument the code. We depend on the system valgrind.h to
avoid adding a new license.
llvm-svn: 98529
|
|
|
|
|
|
| |
cppcheck, PR6617. Patch by Ettl Martin!
llvm-svn: 98525
|
|
|
|
| |
llvm-svn: 98350
|
|
|
|
| |
llvm-svn: 98250
|
|
|
|
|
|
|
|
|
| |
included when using global symbols to ask the linker for the addresses of
various functions. One of the symbols was actually getting declared by a
header included in DynamicLibrary.cpp, which conflicted with the "extern void*"
declaration in SearchForAddressOfSpecialSymbol().
llvm-svn: 98243
|
|
|
|
| |
llvm-svn: 96172
|
|
|
|
|
|
| |
Kees van Reeuwijk!
llvm-svn: 95946
|
|
|
|
| |
llvm-svn: 94743
|
|
|
|
| |
llvm-svn: 94377
|
|
|
|
|
|
|
|
|
| |
TimeValue()::now().toEpochTime() is supposed to be the same as time(),
but it wasn't, because toEpoch subtracted PosixZeroTime, but now()
didn't add PosixZeroTime!
Add a unittest to check this works.
llvm-svn: 94178
|
|
|
|
| |
llvm-svn: 93913
|
|
|
|
|
|
| |
Patch by Diego Iastrubni!
llvm-svn: 93450
|
|
|
|
|
|
|
| |
DynamicLibrary::SearchForAddressOfSymbol refer to declarations in the
global namespace.
llvm-svn: 92023
|
|
|
|
| |
llvm-svn: 92021
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DynamicLibrary::SearchForAddressOfSymbol and force them to have "C"
linkage.
Interestingly, GCC treats the block-scoped "extern" declarations we
previously had as if they were extern "C" declarations (or, at least,
were in the global namespace), so that GCC bug papered over this LLVM
bug. Clang and EDG get the linkage correct; this new variant seems to
work for both GCC and Clang.
llvm-svn: 92020
|
|
|
|
| |
llvm-svn: 92011
|
|
|
|
| |
llvm-svn: 91706
|
|
|
|
| |
llvm-svn: 91620
|
|
|
|
|
|
| |
is not used by anything performance sensitive, so just use std::string.
llvm-svn: 91528
|
|
|
|
|
|
| |
a fixed size buffer is perfectly fine.
llvm-svn: 91527
|
|
|
|
|
|
|
| |
gcc warned that the function may not have a return value, indeed
for non-intel and non-amd X86 CPUs it is right (VIA, etc.).
llvm-svn: 91276
|
|
|
|
|
|
|
| |
x86 CPU detection for the X86 getHostCPUName too, and create a simple
getHostCPUName that returns "generic" for all else.
llvm-svn: 91240
|
|
|
|
|
|
|
| |
MSVS2k8 doesn't define __i386__, hence all the CPU detection code was disabled.
Enable it by looking for _MSC_VER.
llvm-svn: 91217
|
|
|
|
| |
llvm-svn: 90937
|
|
|
|
|
|
|
|
|
| |
sys::cas_flag should be long on this platform, InterlockedAdd() is
defined only for the Itanium architecture (according to MSDN).
Patch by Michael Beck!
llvm-svn: 90748
|
|
|
|
| |
llvm-svn: 90083
|
|
|
|
|
|
|
|
|
| |
case where realpath() fails. When this occurs we segfault trying to
create a std::string from a NULL pointer.
Fixes PR5635.
llvm-svn: 90082
|
|
|
|
|
|
| |
regards to comments from 89765 post review.
llvm-svn: 89848
|
|
|
|
| |
llvm-svn: 89786
|
|
|
|
| |
llvm-svn: 89765
|
|
|
|
|
|
| |
Patch by Tobias Grosser!
llvm-svn: 89406
|
|
|
|
| |
llvm-svn: 89341
|
|
|
|
|
|
|
| |
of failure. The x86 target didn't like empty cpu names and broke x86 tests on
non-x86 buildbots.
llvm-svn: 89111
|
|
|
|
| |
llvm-svn: 88818
|
|
|
|
|
|
| |
properly detect my Xeon box though.
llvm-svn: 88814
|
|
|
|
|
|
|
|
|
| |
- This is an initial step towards -march=native support in Clang, and towards
eliminating host dependencies in the targets. See PR5389.
- Patch by Roman Divacky!
llvm-svn: 88768
|
|
|
|
|
|
| |
not to work any more on linux.
llvm-svn: 86481
|
|
|
|
| |
llvm-svn: 86132
|
|
|
|
| |
llvm-svn: 85782
|
|
|
|
| |
llvm-svn: 85575
|
|
|
|
|
|
| |
direct inclusion edge from System to Support.
llvm-svn: 85086
|
|
|
|
| |
llvm-svn: 85074
|
|
|
|
|
|
|
|
|
|
|
| |
prevents it being correct within a multithreaded context.
This address: PR 5277 (Program::Wait is unsafe to call from multiple threads).
Note: If waitpid() turns out to be non-portable, we can add more autoconf magic, or look into
another solution.
llvm-svn: 84903
|
|
|
|
| |
llvm-svn: 83823
|
|
|
|
|
|
|
|
|
|
| |
- MingW needs -lpsapi (in ${LIBS}) linked after -lLLVMSystem.
Noticed by Ronald Pijnacker!
- Some parts of the System library must be build with exceptions on windows.
Based on a patch by Jay Foad!
llvm-svn: 83251
|
|
|
|
| |
llvm-svn: 82552
|