globalIdent converts the given LLVM IR global identifier to a corresponding Go identifier.
(name string)
| 463 | // globalIdent converts the given LLVM IR global identifier to a corresponding |
| 464 | // Go identifier. |
| 465 | func (d *decompiler) globalIdent(name string) *ast.Ident { |
| 466 | if isID(name) { |
| 467 | name = "_" + name |
| 468 | } |
| 469 | return ident(name) |
| 470 | } |
| 471 | |
| 472 | // localIdent converts the given LLVM IR local identifier to a corresponding Go |
| 473 | // identifier. |
no test coverage detected