- Oct 30, 2013
-
-
Rui Ueyama authored
llvm-svn: 193712
-
- Oct 29, 2013
-
-
Rui Ueyama authored
llvm-svn: 193646
-
Shankar Easwaran authored
Enable this for the following flavors a) core b) gnu c) darwin Its disabled for the flavor PECOFF. Convenient markers are added with FIXME comments in the Driver that would be removed and code removed from each flavor. llvm-svn: 193585
-
- Oct 27, 2013
-
-
Chandler Carruth authored
intended for debugging and diagnostic output), just inspect the spelling to check for specific prefixes in drectve section flags. In addition to being significantly cheaper and not relying on a debugging interface, this also avoids creating a temporary string and binding it to StringRef variable. We then went on to access it after the memory had been deallocated. This bug too was caught by ASan. I love ASan so much. =] llvm-svn: 193487
-
- Oct 26, 2013
-
-
Rui Ueyama authored
/merge:<from>=<to> option makes the linker to combine "from" section to "to" section. This patch is to parse the option. The actual feature will be implemented in a subsequent patch. llvm-svn: 193454
-
Rui Ueyama authored
llvm-svn: 193446
-
Rui Ueyama authored
We really need a test for the manifest file output, but because it depends on external commands (CVTRES.EXE and RC.EXE), it's not very easy to write it. llvm-svn: 193445
-
Rui Ueyama authored
llvm-svn: 193444
-
Rui Ueyama authored
The internal byte array of the SmallString filled by createTemporaryFile() is not guaranteed to be NUL-terminated. We need to call c_str() to handle it safely. llvm-svn: 193442
-
- Oct 25, 2013
-
-
Rui Ueyama authored
llvm-svn: 193424
-
Rui Ueyama authored
llvm-svn: 193387
-
Rui Ueyama authored
llvm-svn: 193384
-
Rui Ueyama authored
llvm-svn: 193375
-
- Oct 24, 2013
-
-
Rui Ueyama authored
The patch have completely broken COFF port and disabled many tests. This also reverts r193302 (comment fix). llvm-svn: 193362
-
Shankar Easwaran authored
Easier to add new options such as -version, and easy to parse. Now displays a help message with -help llvm-svn: 193301
-
Shankar Easwaran authored
Disable tests to be run with REQUIRES: disable. Note disable is not added to the config by the test runner Mkaefiles, so essentially disables the test. Code changes would be required to fix these tests :- test/darwin/hello-world.objtxt test/elf/check.test test/elf/phdr.test test/elf/ppc.test test/elf/undef-from-main-dso.test test/elf/X86_64/note-sections-ro_plus_rw.test test/pecoff/alignment.test test/pecoff/base-reloc.test test/pecoff/bss-section.test test/pecoff/drectve.test test/pecoff/dynamic.test test/pecoff/dynamicbase.test test/pecoff/entry.test test/pecoff/hello.test test/pecoff/imagebase.test test/pecoff/importlib.test test/pecoff/lib.test test/pecoff/multi.test test/pecoff/reloc.test test/pecoff/weak-external.test llvm-svn: 193300
-
Rui Ueyama authored
Instead of making the linker to create a manifest XML file in the same directory as the resulting binary, you can embed the XML as a part of resource into the executable. In order to do that, the linker first creates a resource script file containing the XML file, compile it into a binary resource file with RC.EXE, and then convert it to a COFF file with CVTRES.EXE. llvm-svn: 193298
-
- Oct 23, 2013
-
-
Rui Ueyama authored
llvm-svn: 193207
-
- Oct 22, 2013
-
-
Rui Ueyama authored
llvm-svn: 193201
-
Rui Ueyama authored
/manifestfile:<path> specifies an alternative manifest file output path. Default is "<output-path>.manifest" where <output-path> is the executable's path. llvm-svn: 193195
-
Rui Ueyama authored
llvm-svn: 193186
-
Rui Ueyama authored
llvm-svn: 193173
-
Rui Ueyama authored
uiAccess argument's type is not really boolean. It's string. llvm-svn: 193171
-
Alp Toker authored
llvm-svn: 193155
-
Rui Ueyama authored
This option is used for the manifest file too. llvm-svn: 193145
-
Rui Ueyama authored
llvm-svn: 193143
-
Rui Ueyama authored
llvm-svn: 193142
-
Rui Ueyama authored
The manifest file is an XML file that conveys some information to the loader, such as whether the executable needs to run as Administrator or not. This patch is to parse command line option for manifest file. Actual XML file generation will be done in a separate patch. llvm-svn: 193141
-
Rui Ueyama authored
Because MSVC11 doesn't like this new C++11 feature. The last commit broke the buildbot. llvm-svn: 193127
-
Rui Ueyama authored
llvm-svn: 193122
-
- Oct 19, 2013
-
-
Rui Ueyama authored
llvm-svn: 193030
-
- Oct 16, 2013
-
-
Rui Ueyama authored
Dead-strip root symbols can be undefined atoms, but should not really be nonexistent, because dead-strip root symbols should be added to initial undefined atoms at startup. Whenever you look up its name in the symbol table, some type of atom will always exist. llvm-svn: 192831
-
Rui Ueyama authored
llvm-svn: 192772
-
- Oct 14, 2013
-
-
Shankar Easwaran authored
llvm-svn: 192614
-
- Oct 12, 2013
-
-
Rui Ueyama authored
llvm-svn: 192509
-
- Oct 11, 2013
-
-
Shankar Easwaran authored
There are aliases for --start-group/--end-group options represented by -( and -) respectively in the command line. This change adds and improves the test for the alias options to be tested. Looks like users use this option widely than explicitly using --start-group/--end-group. llvm-svn: 192470
-
Rui Ueyama authored
llvm-svn: 192427
-
Rui Ueyama authored
allowRemainingUndefines() is already checked in Resolver::resolve(), so we don't need to check it again after returning from it. It's actually not only superfluous but buggy because a failure of resolve() does not always mean that there is a remaining undefines. llvm-svn: 192423
-
Rui Ueyama authored
llvm-svn: 192422
-
Rui Ueyama authored
This eliminates _elements's size check from the loop. llvm-svn: 192418
-