Access symbol table programmatically?

Is it possible to access the generated symbol table (including file/section offsets) for a translation unit from within clang programmatically? If so, can I get some hints about where I should be looking to get started?

Thanks a lot for any help.