Give TargetAsmInfo a virtual dtor, add a new getSectionForFunction method.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30732 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp
index c085eb4..3aa2999 100644
--- a/lib/Target/TargetAsmInfo.cpp
+++ b/lib/Target/TargetAsmInfo.cpp
@@ -74,3 +74,6 @@
   DwarfRangesSection(".debug_ranges"),
   DwarfMacInfoSection(".debug_macinfo")
 {}
+
+TargetAsmInfo::~TargetAsmInfo() {
+}