diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-06 20:23:56 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-06 20:23:56 +0000 |
commit | be0fe4d9b58f0592b072630d666f22409e07687a (patch) | |
tree | 36c8b9659612dafee6460ef596853fea27efdd64 /lld/ELF/MarkLive.cpp | |
parent | 91e5868c2c09c8559ef064bf5f8712c6e677db00 (diff) |
Detemplate merge (input and synthetic) sections. NFC.
Diffstat (limited to 'lld/ELF/MarkLive.cpp')
-rw-r--r-- | lld/ELF/MarkLive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp index 2551557d01d..0b05f591076 100644 --- a/lld/ELF/MarkLive.cpp +++ b/lld/ELF/MarkLive.cpp @@ -210,7 +210,7 @@ template <class ELFT> void elf::markLive() { // Usually, a whole section is marked as live or dead, but in mergeable // (splittable) sections, each piece of data has independent liveness bit. // So we explicitly tell it which offset is in use. - if (auto *MS = dyn_cast<MergeInputSection<ELFT>>(R.Sec)) + if (auto *MS = dyn_cast<MergeInputSection>(R.Sec)) MS->markLiveAt(R.Offset); if (R.Sec->Live) |