import-trace: import debug info

If the --debug option is set, the line number table of the elf binary will
be imported into the database. The information will be stored in the
"dbg_mapping" table.

If the --sources option is set, the source files will be imported
into the database. Only the files that were actually used in the
elf binary will be imported.

Change-Id: I0e9de6b456bc42b329c1700c25e5839d9552cdbb
This commit is contained in:
Richard Hellwig
2014-01-24 16:44:56 +01:00
parent d307dd2ecb
commit 13175c259b
7 changed files with 551 additions and 6 deletions

View File

@ -33,7 +33,8 @@ target_link_libraries(import-trace
${MYSQL_LIBRARIES}
fail-util
fail-comm
fail-sal)
fail-sal
)
if (BUILD_LLVM_DISASSEMBLER)
target_link_libraries(import-trace fail-llvmdisassembler fail-sal ${LLVM_LIBS} ${LLVM_LDFLAGS} ${Boost_LIBRARIES})