| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 82551
|
|
|
|
|
|
|
| |
GetProcessId() was introduced only in Windows XP, and we want to support earlier
versions.
llvm-svn: 82548
|
|
|
|
|
|
|
|
| |
RegisterHandler and use to disable the Win32 crash dialogs. These are a major blocker to any kind of automated testing.
Also, tweak the 'lit' test runner to set this variable unconditionally.
llvm-svn: 82537
|
|
|
|
|
|
| |
ExecuteAndWait.
llvm-svn: 82522
|
|
|
|
|
|
|
| |
GetProcessId was introduced only in XP. As a bonus, this change makes Program
objects copyable, since Program is now basically a PID.
llvm-svn: 81826
|
|
|
|
|
|
| |
- Could we just always implement this as __clear_cache for __GNUC__?
llvm-svn: 81655
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
working. To support this, add an is_displayed() function to raw_ostream,
and generalize Process::StandardOutIsDisplayed and friends in order to
support it.
Also, call RemoveFileOnSignal before creating a file instead of after, so
that the file isn't left behind if the program is interrupted between when
the file is created and RemoveFileOnSignal is called.
While here, add a -S to llvm-extract and port it to IRReader so that it
supports assembly input.
llvm-svn: 81568
|
|
|
|
|
|
| |
clang's testsuite.
llvm-svn: 81333
|
|
|
|
|
|
| |
Thanks to Duncan Sands for spotting this.
llvm-svn: 81328
|
|
|
|
| |
llvm-svn: 81252
|
|
|
|
| |
llvm-svn: 81249
|
|
|
|
| |
llvm-svn: 81247
|
|
|
|
| |
llvm-svn: 81246
|
|
|
|
|
|
| |
equivalent to SIG_IGN.
llvm-svn: 81144
|
|
|
|
|
|
| |
about by icc (#593, partial). Patch by Erick Tryzelaar.
llvm-svn: 81115
|
|
|
|
|
|
|
| |
doesn't warn about unreachable instructions. Patch
by Erick Tryzelaar (#111).
llvm-svn: 81110
|