Fix typo. add a test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101812 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp
index 9a6285b..c19c2d6 100644
--- a/lib/Support/Dwarf.cpp
+++ b/lib/Support/Dwarf.cpp
@@ -198,7 +198,7 @@
case DW_AT_APPLE_block: return "DW_AT_APPLE_block";
case DW_AT_APPLE_major_runtime_vers: return "DW_AT_APPLE_major_runtime_vers";
case DW_AT_APPLE_runtime_class: return "DW_AT_APPLE_runtime_class";
- case DW_AT_APPLE_omit_frame_ptr: return "DW_APPLE_omit_frame_ptr";
+ case DW_AT_APPLE_omit_frame_ptr: return "DW_AT_APPLE_omit_frame_ptr";
}
return 0;
}