Return the display name for attr from tagNameMap.
Declared in <llvm/Support/ELFAttributes.h>
StringRef
attrTypeAsString(
unsigned int attr,
TagNameMap tagNameMap,
bool hasTagPrefix = true);
The display name for attr, or an empty string if not found.
| Name | Description |
|---|---|
| attr | Attribute tag number to look up. |
| tagNameMap | Map from tag numbers to display names. |
| hasTagPrefix | If true, return the full name (for example "Tag_CPU_name"); if false, drop the leading "Tag_" prefix. |