Commit 2a4528ce authored by Rafael Espindola's avatar Rafael Espindola
Browse files

Move Repl check to a symbol method.

Having a SectionBase method check Repl is inconsistent with how we
handle other section information.

For example, if a section is replaced, Sec->Live is false and it is
natural for Sec->getOutputSection() to be null.

It is the symbol that is moved to the replacement section.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@320599 91177308-0d34-0410-b5e6-96231b3b80d8
parent 4e540d66
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment