aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-11-02 19:18:51 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2020-11-02 19:42:34 -0800
commit6c9f3fe908a70a646e619a1355df451c06f6c3a1 (patch)
tree5e58631607358469be657797bbffe12155cf465d /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentd14e51806b0214560ec99b5d3ce797f5fa3f7522 (diff)
downloadllvm-6c9f3fe908a70a646e619a1355df451c06f6c3a1.zip
llvm-6c9f3fe908a70a646e619a1355df451c06f6c3a1.tar.gz
llvm-6c9f3fe908a70a646e619a1355df451c06f6c3a1.tar.bz2
[crashlog] Turn crash log parsing modes into a Python 'enum' (NFC)
Python doesn't support enums before PEP 435, but using a class with constants is how it's commonly emulated. It can be converted into a real Enum (in Python 3.4 and later) by extending the Enum class: class CrashLogParseMode(Enum): NORMAL = 0 THREAD = 1 IMAGES = 2 THREGS = 3 SYSTEM = 4 INSTRS = 5
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions