scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

pc2line.c (186B)


      1 #include <stdio.h>
      2 
      3 #include <scc/mach.h>
      4 
      5 #include "libmach.h"
      6 
      7 int
      8 pc2line(Obj *obj, unsigned long long pc, char *fname, int *ln)
      9 {
     10 	return (*obj->ops->pc2line)(obj, pc, fname, ln);
     11 }