diff options
author | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2013-06-12 14:15:21 +0000 |
---|---|---|
committer | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2013-06-12 14:15:21 +0000 |
commit | 7e79636e1925a24b34f5e5c83822fa1b1e5a961f (patch) | |
tree | 72d3ab8b4541dfe3eb2f7c5597939c5c2fe2c440 /llvm/lib/Support/CommandLine.cpp | |
parent | d45c68cb9c5b3835c35b23963a913a41744c7104 (diff) | |
download | bcm5719-llvm-7e79636e1925a24b34f5e5c83822fa1b1e5a961f.tar.gz bcm5719-llvm-7e79636e1925a24b34f5e5c83822fa1b1e5a961f.zip |
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.)
llvm-svn: 183830
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 63d0b739c00..7568390d644 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/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() {} |