[lld] r239723 - [LinkerScript] Allow destruction of PHDR
Denis Protivensky
dprotivensky at accesssoftek.com
Mon Jun 15 02:44:26 PDT 2015
Author: denis-protivensky
Date: Mon Jun 15 04:44:25 2015
New Revision: 239723
URL: http://llvm.org/viewvc/llvm-project?rev=239723&view=rev
Log:
[LinkerScript] Allow destruction of PHDR
This is needed for static variable defined in sources.
Modified:
lld/trunk/include/lld/ReaderWriter/LinkerScript.h
Modified: lld/trunk/include/lld/ReaderWriter/LinkerScript.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/ReaderWriter/LinkerScript.h?rev=239723&r1=239722&r2=239723&view=diff
==============================================================================
--- lld/trunk/include/lld/ReaderWriter/LinkerScript.h (original)
+++ lld/trunk/include/lld/ReaderWriter/LinkerScript.h Mon Jun 15 04:44:25 2015
@@ -816,7 +816,6 @@ public:
: _name(name), _type(type), _includeFileHdr(includeFileHdr),
_includePHDRs(includePHDRs), _at(at), _flags(flags) {}
- ~PHDR() = delete;
StringRef name() const { return _name; }
void dump(raw_ostream &os) const;
More information about the llvm-commits
mailing list