| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
With these patches we implement the ability for the Linker library to
keep track of which libraries were actually bytecode files (not archives)
and cause their users to remove such files from the list of libraries to
pass to the native linker.
llvm-svn: 25169
|
| |
|
|
|
|
|
|
|
|
| |
* Changed the -rpath option from cl::opt to cl::list
* Changed the interface to GenerateNative to take a std::vector<std::string>
instead of just a std::string
* Changed GenerateNative to generate multiple -Wl,-rpath, options to be
passed to gcc.
llvm-svn: 24930
|
| |
|
|
|
|
| |
in last patch.
llvm-svn: 24710
|
| |
|
|
|
|
|
|
| |
the module being constructed. This is used to correctly name the module.
Previously the name of the linker tool was used which produces confusing
output when the module identifier is used in an error message.
llvm-svn: 24699
|
| |
|
|
| |
llvm-svn: 24392
|
| |
|
|
|
|
|
|
| |
performed with -export-dynamic (aka. -disable-internalize).
Patch by Nicholas Riley!
llvm-svn: 22601
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This chagne just renames some sys::Path methods to ensure they are not
misused. The Path documentation now divides methods into two dimensions:
Path/Disk and accessor/mutator. Path accessors and mutators only operate
on the Path object itself without making any disk accesses. Disk accessors
and mutators will also access or modify the file system. Because of the
potentially destructive nature of disk mutators, it was decided that all
such methods should end in the work "Disk" to ensure the user recognizes
that the change will occur on the file system. This patch makes that
change. The method name changes are:
makeReadable -> makeReadableOnDisk
makeWriteable -> makeWriteableOnDisk
makeExecutable -> makeExecutableOnDisk
setStatusInfo -> setStatusInfoOnDisk
createDirectory -> createDirectoryOnDisk
createFile -> createFileOnDisk
createTemporaryFile -> createTemporaryFileOnDisk
destroy -> eraseFromDisk
rename -> renamePathOnDisk
These changes pass the Linux Deja Gnu tests.
llvm-svn: 22354
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of the difference between file paths and directory paths. The Path
class now simply stores a path that can refer to either a file or a
directory. This required various changes in the implementation and interface
of the class with the corresponding impact to its users. Doxygen comments were
also updated to reflect these changes. Interface changes are:
appendDirectory -> appendComponent
appendFile -> appendComponent
elideDirectory -> eraseComponent
elideFile -> eraseComponent
elideSuffix -> eraseSuffix
renameFile -> rename
setDirectory -> set
setFile -> set
Changes pass Dejagnu and llvm-test/SingleSource tests.
llvm-svn: 22349
|
| |
|
|
| |
llvm-svn: 21428
|
| |
|
|
| |
llvm-svn: 21372
|
| |
|
|
|
|
|
| |
* Add option `-save-temps'
Patch contributed by Markus Oberhumer.
llvm-svn: 21367
|
| |
|
|
|
|
|
| |
ensure that -L paths don't contain both bytecode and native libraries.
This patch contributed by Adam Treat.
llvm-svn: 20370
|
| |
|
|
| |
llvm-svn: 20166
|
| |
|
|
| |
llvm-svn: 19751
|
| |
|
|
|
|
| |
constructor is "explicit".
llvm-svn: 19078
|
| |
|
|
|
|
| |
main function.
llvm-svn: 19029
|
| |
|
|
| |
llvm-svn: 19026
|
| |
|
|
|
|
|
|
|
|
|
| |
* removeFile() -> sys::Path::destroyFile()
* remove extraneous toString() calls
* convert local variables representing path names from std::string to
sys::Path
* Use sys::Path objects with FileRemove instead of std::string
* Use sys::Path methods for construction of path names
llvm-svn: 19001
|
| |
|
|
|
|
|
| |
* Change ExecWait calls to sys::Program::ExecuteAndWait
* Convert to use sys::Path where it makes sense
llvm-svn: 18929
|
| |
|
|
|
|
| |
Adjust to interface change for FindExecutable.
llvm-svn: 18920
|
| |
|
|
|
|
|
| |
Replace MakeFileReadable and MakeFileExecutable (from FileUtilities) with
sys::Path::makeReadable and sys::Path:makeExecutable, respectively.
llvm-svn: 18909
|
| |
|
|
|
|
| |
pass to the Linker::LinkInItems function.
llvm-svn: 18894
|
| |
|
|
| |
llvm-svn: 18864
|
| |
|
|
| |
llvm-svn: 18825
|
| |
|
|
| |
llvm-svn: 18617
|
| |
|
|
|
|
|
| |
When not linking as a library, use LinkItems to retain command line order of \
linking, otherwise use LinkFiles
llvm-svn: 18549
|
| |
|
|
|
|
| |
Add -S and --strip-debug option support.
llvm-svn: 18441
|
| |
|
|
| |
llvm-svn: 17911
|
| |
|
|
| |
llvm-svn: 17801
|
| |
|
|
| |
llvm-svn: 17787
|
| |
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
| |
|
|
| |
llvm-svn: 16091
|
| |
|
|
| |
llvm-svn: 14351
|
| |
|
|
|
|
|
|
|
|
|
| |
bytecode files on win32 systems. We keep the shell script on unix systems
because it is much more transparent for the users and supports -load
options.
This allows llvmgcc work correctly on win32 systems without the -native or
-native-cbe options.
llvm-svn: 13946
|
| |
|
|
|
|
|
| |
to reduce the inter-file interface in the gccld tool and gets some
uninteresting code out of gccld.cpp.
llvm-svn: 13942
|
| |
|
|
| |
llvm-svn: 13941
|
| |
|
|
| |
llvm-svn: 13813
|
| |
|
|
|
|
|
|
|
|
|
|
| |
when they have to run a gccld shell script without having lli in their path.
This is intended to address Bug 289.
Also, emit the traditional syntax ${1+"$@"} for passing all of a shell script's
args to a subprocess. If you have arguments that have spaces in them, $* will
not preserve the quoting (i.e., the quoted string "foo bar" as an argument will
end up as two arguments "foo" "bar" to lli.)
llvm-svn: 13414
|
| |
|
|
|
|
| |
for the application with the C backend instead of the native LLVM code generator
llvm-svn: 12698
|
| |
|
|
|
|
| |
the tool.
llvm-svn: 11633
|
| |
|
|
| |
llvm-svn: 10335
|
| |
|
|
| |
llvm-svn: 10262
|
| |
|
|
| |
llvm-svn: 10196
|
| |
|
|
|
|
| |
verified as having an ELF header. This fixes PR151.
llvm-svn: 10195
|
| |
|
|
|
|
| |
shared objects automagically, so it doesn't have to be done by hand.
llvm-svn: 10114
|
| |
|
|
|
|
| |
* Eliminated extra space
llvm-svn: 10104
|
| |
|
|
| |
llvm-svn: 9903
|
| |
|
|
|
|
|
|
| |
Module and link things into that.
Also, fix a typo in an error message.
llvm-svn: 9748
|
| |
|
|
| |
llvm-svn: 9724
|
| |
|
|
|
|
| |
This fixes lots of annoying warnings and error messages
llvm-svn: 9677
|