[DWARFCallFrameInfo] Add Type enum to differentiate eh/debug_frame sections

Summary:
instead of using a boolean to differentiate between the two section
types, use an enum to make the intent clearer.

I also remove the RegisterKind argument from the constructor, as this
can be deduced from the Type argument.

Reviewers: clayborg, jasonmolenda

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D34681

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@306521 91177308-0d34-0410-b5e6-96231b3b80d8
5 files changed