Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions