[NFC] Refactor how CFI section types are represented in AsmPrinter
authorRamNalamothu <VenkataRamanaiah.Nalamothu@amd.com>
Wed, 28 Apr 2021 00:27:29 +0000 (05:57 +0530)
committerRamNalamothu <VenkataRamanaiah.Nalamothu@amd.com>
Wed, 28 Apr 2021 03:34:04 +0000 (09:04 +0530)
commit63cfab4f40390bf10a313039adf0b955db9706b9
tree5dd6f496d7ba2aa0d7288362ec145130b5e9d4d4
parentc5c7a493ef5e9ec4fca663a39628d11bbfb784d3
[NFC] Refactor how CFI section types are represented in AsmPrinter

In terms of readability, the `enum CFIMoveType` didn't better document what it
intends to convey i.e. the type of CFI section that gets emitted.

Reviewed By: dblaikie, MaskRay

Differential Revision: https://reviews.llvm.org/D76519
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/lib/CodeGen/AsmPrinter/ARMException.cpp
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp