Skip to content

How do I get the future index of a symbol in the AsmPrinter stage? #5

@StevenYangCC

Description

@StevenYangCC

How do I get the future index of a symbol in the AsmPrinter stage? Because I want to generate a section, and the content of this section is a structured data, in which the symbol’s index in symtab is needed, but I see that when llc generates ELF file, the symbol’s index is determined at the end, so I want to ask if there is any way to get the symbol’s future index in symtab in a more forward stage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions