diff options
author | Pete Cooper <peter_cooper@apple.com> | 2016-03-22 04:00:41 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2016-03-22 04:00:41 +0000 |
commit | 3e4d732dd08e9183ba123527df59f05f437c3ef8 (patch) | |
tree | ee83c8f1316f9a69d2a2706d84b76d8a0e6baf6c /lld/lib/Core/File.cpp | |
parent | 572a87e2aa81e1dfe677645d0d3591fc4ee8239a (diff) | |
download | bcm5719-llvm-3e4d732dd08e9183ba123527df59f05f437c3ef8.tar.gz bcm5719-llvm-3e4d732dd08e9183ba123527df59f05f437c3ef8.zip |
Revert "Use owning pointers instead of raw pointers for Atom's to fix leaks."
This reverts commit r264022.
This breaks the Window's bots which don't like that i'm calling ~Atom when
the this pointer is a sublcass of Atom.
Reverting for now until I try find a better fix. I tried using std::unique_ptr with
a custom deleter as a quick fix, but it didn't work well in the YAML parser.
llvm-svn: 264023
Diffstat (limited to 'lld/lib/Core/File.cpp')
-rw-r--r-- | lld/lib/Core/File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Core/File.cpp b/lld/lib/Core/File.cpp index b84132bfecd..ac95f101679 100644 --- a/lld/lib/Core/File.cpp +++ b/lld/lib/Core/File.cpp @@ -13,7 +13,7 @@ namespace lld { -File::~File() { } +File::~File() {} File::AtomVector<DefinedAtom> File::_noDefinedAtoms; File::AtomVector<UndefinedAtom> File::_noUndefinedAtoms; |