summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up a few references to System/. We still have docs/SystemLibrary.htmlDaniel Dunbar2011-10-115-5/+5
| | | | | | lying around... llvm-svn: 141703
* The Mips specific function for instruction cache invalidation cannot beBruno Cardoso Lopes2011-10-101-34/+5
| | | | | | | | | compiled on mips32r1 processors because it uses synci and rdhwr instructions which are supported only on mips32r2, so I replaced this function with the call to function cacheflush which works for both mips32r1 and mips32r2. Patch by Sasa Stankovic llvm-svn: 141564
* Fix APInt::operator*= so that it computes the correct result for large ↵Eli Friedman2011-10-072-2/+3
| | | | | | integers where there is unsigned overflow. Fix APFloat::toString so that it doesn't depend on the incorrect behavior in common cases (and computes the correct result in some rare cases). Fixes PR11086. llvm-svn: 141441
* Add more initializers to quiet a clang warning.Eric Christopher2011-10-051-1/+1
| | | | llvm-svn: 141163
* Fix typo in comments.Nick Lewycky2011-10-031-2/+2
| | | | llvm-svn: 141032
* Add Windows x64 stack walking support. Patch by Aaron Ballman!Michael J. Spencer2011-10-011-32/+190
| | | | llvm-svn: 140906
* Fix a bug in compare_numeric().Jakob Stoklund Olesen2011-09-301-6/+13
| | | | | | Thanks to Alexandru Dura and Jonas Paulsson for finding it. llvm-svn: 140859
* These symbols appear to be visible by SearchForAddressOfSymbol and no longer Chad Rosier2011-09-271-15/+0
| | | | | | | require special case handling. rdar://10117377 llvm-svn: 140629
* sys::Process: Add a SetWorkingDirectory method.Daniel Dunbar2011-09-232-0/+9
| | | | llvm-svn: 140433
* Change:Richard Trieu2011-09-211-1/+1
| | | | | | | | | | | | assert(!"error message"); To: assert(0 && "error message"); which is more consistant across the code base. llvm-svn: 140234
* Remove the hack to check UNAME_RELEASE when identifying the Darwin version.Bob Wilson2011-09-201-9/+0
| | | | | | | | | 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
* U is good enoughDouglas Gregor2011-09-201-2/+2
| | | | llvm-svn: 140166
* Eliminate sign-comparison warnings in APIntDouglas Gregor2011-09-201-2/+4
| | | | llvm-svn: 140158
* Add mips64 & mips64el to Triple. Patch by Liu with modifications.Akira Hatanaka2011-09-201-0/+10
| | | | llvm-svn: 140157
* Rename LLVM_MULTITHREADED define and fix build without threads.Eric Christopher2011-09-192-9/+9
| | | | | | Patch by Arrowdodger. llvm-svn: 140064
* Silence -Wsign-compare warnings from GCC.Benjamin Kramer2011-09-191-2/+2
| | | | llvm-svn: 140043
* Add Win32 support to llvm::llvm_execute_on_thread(). Thanks to Aaron Ballman!NAKAMURA Takumi2011-09-191-2/+33
| | | | llvm-svn: 140011
* Fix a minor bug in fs::create_directories. Patch by Albert Wong.Eli Friedman2011-09-161-1/+1
| | | | llvm-svn: 139928
* use 64-bit types instead of off_t/size_t to avoid the issue whenIvan Krasin2011-09-151-4/+4
| | | | | | | | gold plugin is built with Large File Support (sizeof(off_t) == 64 on i686) and the rest of LLVM is built w/o Large File Support (sizeof(off_t) == 32 on i686) which corrupts the stack. llvm-svn: 139873
* CommandLine: Add support for 64 bit unsigned integer options.Benjamin Kramer2011-09-151-0/+13
| | | | llvm-svn: 139848
* Add some more DWARF extensions from:Nick Lewycky2011-09-151-0/+32
| | | | | | | 1. http://gcc.gnu.org/wiki/TemplateParmsDwarf 2. ftp://ftp.software.ibm.com/software/os390/czos/dwarf/mips_extensions.pdf llvm-svn: 139784
* Update Dwarf enums list for DWARF 4.Nick Lewycky2011-09-151-0/+16
| | | | | | Note that DW_TAG_rvalue_reference_type is officially 0x42, not 0x41. llvm-svn: 139779
* Update the comment for system_temp_directory() to indicate when itDouglas Gregor2011-09-141-1/+1
| | | | | | | will ignore the erasedOnReboot option, and properly escape the backslash in "C:\TEMP". Thanks to Aaron and Francois. llvm-svn: 139755
* Include limits.h to make sure PATH_MAX is known on Solaris 10.Bill Wendling2011-09-141-0/+3
| | | | | | Patch by Joakim Johansson! llvm-svn: 139743
* Add a simple routine to determine the typical system directory forDouglas Gregor2011-09-141-0/+30
| | | | | | temporary data. llvm-svn: 139725
* Add APInt support for converting to/from hexatridecimal stringsDouglas Gregor2011-09-141-12/+19
| | | | llvm-svn: 139695
* One more patch towards JIT support for Mips.Bruno Cardoso Lopes2011-09-141-0/+35
| | | | | | | | | | | | | | - Add TSFlags for the instruction formats. The idea here is to use as much encoding as possible from getBinaryCodeForInstr, and having TSFLags formats for that would make it easier to encode most part of the instructions (since Mips encodings are pretty straightforward) - Improve the mips mechanism for compilation callback - Add Mips specific code for invalidating the instruction cache - Next patch will address wrong tablegen encoding Commit msg added by my own but the patch is from Sasa Stankovic. llvm-svn: 139688
* Remove unimplemented function prototypes from PathV2. They can be readded ↵Benjamin Kramer2011-09-141-3/+1
| | | | | | | | when someone cares enough. Patch by Aaron Ballman! llvm-svn: 139682
* ObjectFile: Add support for mach-o-style dSYM companion files.Benjamin Kramer2011-09-141-1/+1
| | | | llvm-svn: 139676
* Add the DataExtractor utility class.Benjamin Kramer2011-09-132-0/+176
| | | | | | | | | | It is an endian-aware helper that can read data from a StringRef. It will come in handy for DWARF parsing. This class is inspired by LLDB's DataExtractor, but is stripped down to the bare minimum needed for DWARF. Comes with unit tests! llvm-svn: 139626
* Add DW_ATE_UTF, which clang started using in my previous commit!Devang Patel2011-09-121-0/+1
| | | | llvm-svn: 139503
* Add AMDIL as valid target triple to LLVM.Tobias Grosser2011-08-291-1/+10
| | | | | | Submitted by: Villmow, Micah <Micah.Villmow@amd.com> llvm-svn: 138734
* Fix integer overflow bug in raw_ostream::write. This showed up as aNick Lewycky2011-08-281-2/+2
| | | | | | non-deterministic crash in the test suite. Fixes PR10055! llvm-svn: 138717
* Report failure if there are less bytes than requested in a MemoryObject.Benjamin Kramer2011-08-271-2/+5
| | | | | | Before we just left the remaining bytes uninitialized. This is another step in making llvm valgrind-clean again. llvm-svn: 138705
* Intel family 6 model 44 is Gulftown/Westmere-EP and doesn't have AVX.Benjamin Kramer2011-08-251-2/+2
| | | | llvm-svn: 138573
* Move TargetRegistry and TargetSelect from Target to Support where they belong.Evan Cheng2011-08-242-0/+123
| | | | | | These are strictly utilities for registering targets and components. llvm-svn: 138450
* This patch adds support of le32 pseudo-cpu that stands for genericIvan Krasin2011-08-231-0/+9
| | | | | | 32-bit little-endian CPU. Used by PNaCl and Emscripten. llvm-svn: 138335
* lib/Support/Windows/Windows.h: Update required IE ver. 0x0600 should be ↵NAKAMURA Takumi2011-08-231-1/+1
| | | | | | enough for Windows XP. llvm-svn: 138319
* Add NativeClient support to Triple::ParseOS.Ivan Krasin2011-08-221-0/+2
| | | | llvm-svn: 138291
* Make DynamicLibrary thread-safe w/r/t call to dlerror() after dlopen(). PR10718Jordy Rose2011-08-222-3/+4
| | | | llvm-svn: 138260
* PathV2: Handle more reserved filenames on windows.Benjamin Kramer2011-08-201-2/+24
| | | | | | Patch by Aaron Ballman! llvm-svn: 138213
* lib/Support/CrashRecoveryContext.cpp: Add Win32 support to ↵NAKAMURA Takumi2011-08-201-1/+67
| | | | | | CrashRecoveryContext. Thanks to Aaron Ballman! llvm-svn: 138199
* lib/Support/Windows/Windows.h: Require at least Windows XP(5.1) API. We will ↵NAKAMURA Takumi2011-08-201-2/+2
| | | | | | not support Windows 2000 any more. llvm-svn: 138198
* Add NativeClient operating system support.Ivan Krasin2011-08-181-0/+1
| | | | | | | | | | | | | | This patch adds support of NativeClient (*-*-nacl) OS support to LLVM. It's already supported in autoconf/config.sub. The motivation for this change is to start upstreaming PNaCl work. The whole set of patches include llvm backends (i686, x86_64, ARM), llvm-gcc (probably, would not be upstreamed because it's deprecated) and clang (the work has been just started, the amount of changes is going to be low and the most of the work is expected to be done close to the mainline). llvm-svn: 138005
* Static fields require an out-of-line definition. Fix DynamicLibrary for real.Jordy Rose2011-08-171-0/+2
| | | | llvm-svn: 137844
* Unbork Windows build. Thanks, Francois.Jordy Rose2011-08-171-2/+2
| | | | llvm-svn: 137798
* Use DynamicLibrary instances as a way to get symbols from a specific ↵Jordy Rose2011-08-172-67/+109
| | | | | | library. Preparation for upcoming (preliminary) support for plugins for the static analyzer. llvm-svn: 137791
* Silence a bunch (but not all) "variable written but not read" warningsDuncan Sands2011-08-121-0/+4
| | | | | | when building with assertions disabled. llvm-svn: 137460
* Clarify a comment.Bob Wilson2011-08-101-1/+3
| | | | llvm-svn: 137204
* Put Darwin-specific code inside an __APPLE__ ifdef.Bob Wilson2011-08-091-0/+2
| | | | llvm-svn: 137137
OpenPOWER on IntegriCloud