summaryrefslogtreecommitdiff
path: root/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2013-06-12 14:15:21 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2013-06-12 14:15:21 +0000
commita5e855d8594ccc7e7fffd2c1886088175ba84950 (patch)
treebbfc6ac5832e623411a4a4ca8f6046355c6c2fd1 /lib/Support/CommandLine.cpp
parente48e8c7a6069374daee4c9be1e17b8ed31527f5e (diff)
downloadllvm-a5e855d8594ccc7e7fffd2c1886088175ba84950.tar.gz
llvm-a5e855d8594ccc7e7fffd2c1886088175ba84950.tar.bz2
llvm-a5e855d8594ccc7e7fffd2c1886088175ba84950.tar.xz
Fix 'gcc -flto' builds for unittest binaries (undefined reference to
`typeinfo for llvm::cl::GenericOptionValue'). Remove an "anchor" method for an abstract class. (This does not increase the number of vtables.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/CommandLine.cpp')
-rw-r--r--lib/Support/CommandLine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp
index 63d0b739c0..7568390d64 100644
--- a/lib/Support/CommandLine.cpp
+++ b/lib/Support/CommandLine.cpp
@@ -59,7 +59,6 @@ TEMPLATE_INSTANTIATION(class opt<char>);
TEMPLATE_INSTANTIATION(class opt<bool>);
} } // end namespace llvm::cl
-void GenericOptionValue::anchor() {}
void OptionValue<boolOrDefault>::anchor() {}
void OptionValue<std::string>::anchor() {}
void Option::anchor() {}