summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/CoreLinkingContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/CoreLinkingContext.cpp')
-rw-r--r--lld/lib/ReaderWriter/CoreLinkingContext.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lld/lib/ReaderWriter/CoreLinkingContext.cpp b/lld/lib/ReaderWriter/CoreLinkingContext.cpp
index 8c7b0b76324..f82105e81f9 100644
--- a/lld/lib/ReaderWriter/CoreLinkingContext.cpp
+++ b/lld/lib/ReaderWriter/CoreLinkingContext.cpp
@@ -151,7 +151,8 @@ private:
class TestingPassFile : public MutableFile {
public:
- TestingPassFile(const LinkingContext &ti) : MutableFile(ti, "Testing pass") {}
+ TestingPassFile(const LinkingContext &ctx)
+ : MutableFile(ctx, "Testing pass") {}
virtual void addAtom(const Atom &atom) {
if (const DefinedAtom *defAtom = dyn_cast<DefinedAtom>(&atom))
@@ -207,7 +208,7 @@ const TestingKindMapping sKinds[] = {
class TestingStubsPass : public StubsPass {
public:
- TestingStubsPass(const LinkingContext &ti) : _file(TestingPassFile(ti)) {}
+ TestingStubsPass(const LinkingContext &ctx) : _file(TestingPassFile(ctx)) {}
virtual bool noTextRelocs() { return true; }
@@ -237,7 +238,7 @@ private:
class TestingGOTPass : public GOTPass {
public:
- TestingGOTPass(const LinkingContext &ti) : _file(TestingPassFile(ti)) {}
+ TestingGOTPass(const LinkingContext &ctx) : _file(TestingPassFile(ctx)) {}
virtual bool noTextRelocs() { return true; }
OpenPOWER on IntegriCloud