| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
since %p isn't formatted consistently, but obviously plain %x is wrong.
PRIxPTR with a cast to uintptr_t would work here, but that requires
inconvenient build-system changes. %lu works on all current and
foreseable future hosts.
llvm-svn: 60616
|
| |
|
|
|
|
| |
Wesley Peck, with a few fixes by me.
llvm-svn: 60605
|
| |
|
|
| |
llvm-svn: 59291
|
| |
|
|
|
|
| |
LLVMSystem.
llvm-svn: 59159
|
| |
|
|
|
|
| |
malloc'ed memory.
llvm-svn: 58805
|
| |
|
|
| |
llvm-svn: 58682
|
| |
|
|
| |
llvm-svn: 58563
|
| |
|
|
|
|
|
|
|
|
| |
is re-written by the callback to branch directly to the compiled code
in future invocations.
Added back in range-based memory permission functions for the updating of
the stub on Darwin.
llvm-svn: 57846
|
| |
|
|
|
|
| |
Patch by Samuel Tardieu.
llvm-svn: 57291
|
| |
|
|
|
|
| |
sys::Memory::setExecutable on Win32 platform.
llvm-svn: 57047
|
| |
|
|
|
|
|
| |
this handling to work properly for modifying stub functions, relocations
back to entry points after JIT compilation, etc..
llvm-svn: 57013
|
| |
|
|
| |
llvm-svn: 56957
|
| |
|
|
|
|
|
| |
& version as strings.
- Win32 code is untested.
llvm-svn: 56942
|
| |
|
|
| |
llvm-svn: 56419
|
| |
|
|
|
|
| |
privilege from read / write to read / executable.
llvm-svn: 56303
|
| |
|
|
| |
llvm-svn: 56244
|
| |
|
|
|
|
| |
Kovarththanan Rajaratnam!
llvm-svn: 54655
|
| |
|
|
| |
llvm-svn: 53973
|
| |
|
|
|
|
| |
existing directory then create new temp. file inside the directory.
llvm-svn: 53929
|
| |
|
|
| |
llvm-svn: 53924
|
| |
|
|
| |
llvm-svn: 53385
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bc files for modules with a target triple that indicates they are for
darwin. The reader unconditionally handles this, and the writer could
turn this on for more targets if we care.
This change has two benefits for darwin:
1) it allows us to encode the cpu type of the file in an easy to read
place that doesn't require decoding the bc file.
2) it works around a bug (IMO) in darwin's AR where it is incapable of
handling files that are not a multiple of 8 bytes long. BC files
are only guaranteed to be multiples of 4 bytes long.
llvm-svn: 53275
|
| |
|
|
| |
llvm-svn: 52847
|
| |
|
|
|
|
| |
Patch by Hasso Tepper!
llvm-svn: 52781
|
| |
|
|
| |
llvm-svn: 52775
|
| |
|
|
|
|
|
|
|
|
| |
This patch add supports for single architecture mach-o files (the current implementation only support Universal Binary), and solve the signature conflict between java class and Universal Binary magics.
Note that this function will always returned dynamic library for Universal Binaries (like the current implementation) because the binary type is not include in the file header."
Patch by Jean-Daniel Dupas!
llvm-svn: 52766
|
| |
|
|
| |
llvm-svn: 52733
|
| |
|
|
| |
llvm-svn: 52731
|
| |
|
|
| |
llvm-svn: 52592
|
| |
|
|
| |
llvm-svn: 52312
|
| |
|
|
| |
llvm-svn: 52290
|
| |
|
|
| |
llvm-svn: 52288
|
| |
|
|
|
|
| |
This bug made llvm-ld unable to function with "-native" option, since the process that was used to call 'gcc' was crashing.
llvm-svn: 52284
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
error that caused it to redirect stderr to stdout too often.
This fix is applied identically to the win32 code as well, but that is
untested.
--Thi line, and those below, will be ignored--
M System/Unix/Program.inc
M System/Win32/Program.inc
llvm-svn: 52233
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
functional changes. Win32 code is untested, but should work fine.
In the unix variant, rename RedirectFD to RedirectIO and let that function
handle empty and null paths instead of doing that in the caller 3 times. This
is the same as win32 already does it.
In the win32 variant, use Path::isEmpty() instead of checking the resulting
c_str() manually. This is the same as unix already does it.
llvm-svn: 52230
|
| |
|
|
|
|
| |
Patch by Julien Lerouge!
llvm-svn: 52037
|
| |
|
|
| |
llvm-svn: 51709
|
| |
|
|
|
|
| |
function to flush a specified std::ostream.
llvm-svn: 51705
|
| |
|
|
|
|
|
|
| |
they aren't in the header file, systems with a <string> header file that isn't
64-bit clean shouldn't warn if #including Path.h and specifying
-Wshorten-64-to-32.
llvm-svn: 51393
|
| |
|
|
| |
llvm-svn: 51088
|
| |
|
|
|
|
|
| |
several things that were neither in an anonymous namespace nor static
but not intended to be global.
llvm-svn: 51017
|
| |
|
|
|
|
| |
include backslashes on Windows. This should fix llvm-ld problems on win32.
llvm-svn: 50960
|
| |
|
|
|
|
| |
llvm-ar being unable to rename files.
llvm-svn: 50702
|
| |
|
|
| |
llvm-svn: 50695
|
| |
|
|
| |
llvm-svn: 50659
|
| |
|
|
| |
llvm-svn: 49568
|
| |
|
|
| |
llvm-svn: 49496
|
| |
|
|
| |
llvm-svn: 49354
|
| |
|
|
| |
llvm-svn: 49352
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This method allows one to create a directory, and optionally create all parent
directories that do not exist.
The original implementation would require that *all* directories along a path
are writable by the user, including directories that already exist. For example,
suppose we wanted to create the directory "/tmp/foo/bar", and the directory
"/tmp" already exists, but not "/tmp/foo". Since "/tmp" is writable by all
users, the original implementation would work, and create "/tmp/foo", followed
by "/tmp/bar".
A problem occurred, however if one wanted to created the directory
"/Users/myuser/bar" (or equivalently "/home/myuser/bar"), and "/Users/myuser"
already existed and is writable by the current user. The directory
"/User/myuser" is writable by the user, but "/User" is not. The original
implementation of createDirectoryOnDisk would return with failure since "/User"
is not writable, even though "/User/mysuser" is writable.
The new implementation works by recursively creating parents as needed, and thus
doesn't need to check the permissions on every directory in a path.
llvm-svn: 49162
|