llvm.h 514 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __PERF_LLVM_H
  3. #define __PERF_LLVM_H
  4. #include <stdbool.h>
  5. #include <linux/types.h>
  6. struct annotate_args;
  7. struct dso;
  8. struct inline_node;
  9. struct symbol;
  10. int llvm__addr2line(const char *dso_name, u64 addr,
  11. char **file, unsigned int *line, struct dso *dso,
  12. bool unwind_inlines, struct inline_node *node,
  13. struct symbol *sym);
  14. int symbol__disassemble_llvm(const char *filename, struct symbol *sym,
  15. struct annotate_args *args);
  16. #endif /* __PERF_LLVM_H */