comparison agent/src/os/linux/symtab.h @ 1294:7de45b5044c3

6932270: Allow Java's ELF symtab reader to use separate debuginfo files Reviewed-by: never Contributed-by: Andrew Haley <aph@redhat.com>
author never
date Tue, 09 Mar 2010 11:02:39 -0800
parents a61af66fc99e
children c18cbe5936b8
comparison
equal deleted inserted replaced
1293:51db1e4b379d 1294:7de45b5044c3
30 // interface to manage ELF symbol tables 30 // interface to manage ELF symbol tables
31 31
32 struct symtab; 32 struct symtab;
33 33
34 // build symbol table for a given ELF file descriptor 34 // build symbol table for a given ELF file descriptor
35 struct symtab* build_symtab(int fd); 35 struct symtab* build_symtab(int fd, const char *filename);
36 36
37 // destroy the symbol table 37 // destroy the symbol table
38 void destroy_symtab(struct symtab* symtab); 38 void destroy_symtab(struct symtab* symtab);
39 39
40 // search for symbol in the given symbol table. Adds offset 40 // search for symbol in the given symbol table. Adds offset