diff options
author | Shankar Easwaran <shankare@codeaurora.org> | 2013-10-09 03:40:29 +0000 |
---|---|---|
committer | Shankar Easwaran <shankare@codeaurora.org> | 2013-10-09 03:40:29 +0000 |
commit | 03f7763d21023e8493105574a522ce1b99881604 (patch) | |
tree | 61c2c7ae3b422629193f1560adb2598ec9d8e68b /lld/lib/Core/LinkingContext.cpp | |
parent | a3a542ff2115f3c758c167eaed6a23ed43ed2347 (diff) | |
download | bcm5719-llvm-03f7763d21023e8493105574a522ce1b99881604.tar.gz bcm5719-llvm-03f7763d21023e8493105574a522ce1b99881604.zip |
[inputGraph] Associate Resolve state with appropriate nodes
This associates resolveState to FileNodes. The control node derive
their resolution state from the inputElements that are contained in
it.
This makes --start-group/--end-group to work with ELF linking.
llvm-svn: 192269
Diffstat (limited to 'lld/lib/Core/LinkingContext.cpp')
-rw-r--r-- | lld/lib/Core/LinkingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Core/LinkingContext.cpp b/lld/lib/Core/LinkingContext.cpp index 31dfed40437..779d9b81be1 100644 --- a/lld/lib/Core/LinkingContext.cpp +++ b/lld/lib/Core/LinkingContext.cpp @@ -77,7 +77,7 @@ bool LinkingContext::createInternalFiles( } void LinkingContext::setResolverState(uint32_t state) { - _currentInputElement->setResolverState(state); + _currentInputElement->setResolveState(state); } ErrorOr<File &> LinkingContext::nextFile() { |