[lld] r217392 - Partially roll back r217324.
Rui Ueyama
ruiu at google.com
Mon Sep 8 11:01:43 PDT 2014
Author: ruiu
Date: Mon Sep 8 13:01:42 2014
New Revision: 217392
URL: http://llvm.org/viewvc/llvm-project?rev=217392&view=rev
Log:
Partially roll back r217324.
Modified:
lld/trunk/include/lld/Core/File.h
lld/trunk/lib/Core/File.cpp
Modified: lld/trunk/include/lld/Core/File.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/File.h?rev=217392&r1=217391&r2=217392&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/File.h (original)
+++ lld/trunk/include/lld/Core/File.h Mon Sep 8 13:01:42 2014
@@ -39,7 +39,7 @@ class LinkingContext;
/// are destroyed when the File object is destroyed.
class File {
public:
- virtual ~File() {}
+ virtual ~File();
/// \brief Kinds of files that are supported.
enum Kind {
Modified: lld/trunk/lib/Core/File.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/File.cpp?rev=217392&r1=217391&r2=217392&view=diff
==============================================================================
--- lld/trunk/lib/Core/File.cpp (original)
+++ lld/trunk/lib/Core/File.cpp Mon Sep 8 13:01:42 2014
@@ -12,6 +12,8 @@
namespace lld {
+File::~File() {}
+
File::atom_collection_empty<DefinedAtom> File::_noDefinedAtoms;
File::atom_collection_empty<UndefinedAtom> File::_noUndefinedAtoms;
File::atom_collection_empty<SharedLibraryAtom> File::_noSharedLibraryAtoms;
More information about the llvm-commits
mailing list