This patch appends the name of the function to the switch generated lookup
table. This will ease the visual debugging in identifying the function the table
is generated from.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks! This seems useful also for nicer test files.
lib/Transforms/Utils/SimplifyCFG.cpp | ||
---|---|---|
4836 ↗ | (On Diff #104669) | Could you change this to pass in a StringRef to the function name instead? That way the reader doesn't have to wonder what it needs the Function for. |