diff options
author | Shankar Easwaran <shankare@codeaurora.org> | 2013-11-24 23:12:36 +0000 |
---|---|---|
committer | Shankar Easwaran <shankare@codeaurora.org> | 2013-11-24 23:12:36 +0000 |
commit | d87a021c79e251fcdf592e01dc7fb9606318d4f1 (patch) | |
tree | ae32329b0751d5636699f534311b8868840b8b28 /clang/lib/Driver/Driver.cpp | |
parent | 98758cbe853a32eec7d30cc1fb1366714b31e48b (diff) | |
download | bcm5719-llvm-d87a021c79e251fcdf592e01dc7fb9606318d4f1.tar.gz bcm5719-llvm-d87a021c79e251fcdf592e01dc7fb9606318d4f1.zip |
[InputGraph][Gnu] Add LinkerScript support.
This adds LinkerScript support by creating a type Script which is of type
FileNode in the InputGraph. Once the LinkerScript Parser converts the
LinkerScript into a sequence of command, the commands are handled by the
equivalent LinkerScript node for the current Flavor/Target. For ELF, a
ELFGNULdScript gets created which converts the commands to ELF nodes and ELF
control nodes(ELFGroup for handling Group nodes).
Since the Inputfile type has to be determined in the Driver, the Driver needs
to determine the complete path of the file that needs to be processed by the
Linker. Due to this, few tests have been removed since the Driver uses paths
that doesnot exist.
llvm-svn: 195583
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions