hanchenye-llvm-project/lld/test
Rui Ueyama 4ecc59afce [PECOFF] Handle .drectve section.
Summary:
The .drectve section contains linker command line options, and the linker is
expected to interpret them as if they were given via the command line. In this
patch, the command line parser in the driver is called from the object file
reader to parse the string.

I think this patch is important, because this is the first step towards mutable
TargetInfo. We had a discussion about that on llvm-commits mailing list before.
I haven't removed "const" from the function signature yet. Instead, I just use
cast to remove "const". This is a temporary aid for an experiment. If we don't
see any issue with this mutable TargetInfo appraoch, I'll change the function
signature, and rename the class LinkerContext from TargetInfo.

Reviewers: kledzik

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1246

llvm-svn: 187677
2013-08-02 21:26:14 +00:00
..
Driver Return 0 when processing --help. This matches gnu ld and gold. 2013-07-04 16:50:47 +00:00
Unit Add lit magic so that lld unittests are run as part of lld test suite 2013-07-23 23:42:17 +00:00
darwin This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
elf [ELF] add -u/--undefined option, to define undefined symbols 2013-06-19 00:31:09 +00:00
pecoff [PECOFF] Handle .drectve section. 2013-08-02 21:26:14 +00:00
CMakeLists.txt Add yaml2obj to check-lld deps, since the PECOFF tests need it 2013-07-25 23:05:13 +00:00
absolute-basic.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
absolute-local.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
archive-basic.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
archive-chain.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
archive-tentdef-search.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
auto-hide-coalesce.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
constants-coalesce.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
cstring-coalesce.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
custom-section.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
dead-strip-attributes.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
dead-strip-basic.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
dead-strip-globals.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
empty.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
error-atom-attribute.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
error-atom-content-byte-value.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
error-atom-content-bytes.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
error-atom-type.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
error-atom-undefined-wrong-attribue.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
error-file-attribute.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
error-fixup-attribute.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
error-fixup-target.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
fixups-addend.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
fixups-dup-named.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
fixups-named.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
fixups-unnamed.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
ingroup-test-big.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
ingroup-test-loop.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
ingroup-test-with-layout-after.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
ingroup-test.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
inline-coalesce.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
layout-error-test.objtxt Fix test failure introduced in r187271 by enabling pipefail. 2013-07-29 21:50:33 +00:00
layoutafter-test.objtxt [lld] Fix broken test. -layout-pass option does not exist. 2013-05-10 00:50:33 +00:00
layoutbefore-test.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
linker-script.test [lld][ELF] Add parser for linker script ENTRY command 2013-06-03 18:05:21 +00:00
lit.cfg Try to guard a test that requires DEBUG(). 2013-07-04 09:29:47 +00:00
lit.site.cfg.in
multiple-def-error.objtxt Add 'not' to command lines that are expected to fail. 2013-07-04 17:08:11 +00:00
pass-got-basic.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
pass-stubs-basic.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
permissions.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
section-position.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
shared-library-basic.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
shared-library-coalesce.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
tent-merge.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
undef-coalesce-error.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
undef-coalesce.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
undef-weak-coalesce.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00
weak-coalesce.objtxt This is my Driver refactoring patch. 2013-04-04 18:59:24 +00:00