Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2012-11-20 17:32:00 +0000
committerEugene Tarassov2012-11-20 17:32:00 +0000
commit2fbdcf4ad66db473c7fd114c083365217969767f (patch)
tree46dc471d56da15af1587cc71b20e5f2297414d91 /agent/tcf/services/tcf_elf.c
parent608f210f6c0d23a27761e96a21321b16cb6287e5 (diff)
downloadorg.eclipse.tcf.agent-2fbdcf4ad66db473c7fd114c083365217969767f.tar.gz
org.eclipse.tcf.agent-2fbdcf4ad66db473c7fd114c083365217969767f.tar.xz
org.eclipse.tcf.agent-2fbdcf4ad66db473c7fd114c083365217969767f.zip
Added a function to clear ELF/DWARF caches: elf_invalidate()
Diffstat (limited to 'agent/tcf/services/tcf_elf.c')
-rw-r--r--agent/tcf/services/tcf_elf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/agent/tcf/services/tcf_elf.c b/agent/tcf/services/tcf_elf.c
index 9a8f9e88..3b2556d4 100644
--- a/agent/tcf/services/tcf_elf.c
+++ b/agent/tcf/services/tcf_elf.c
@@ -1762,6 +1762,14 @@ int elf_get_plt_entry_size(ELF_File * file, unsigned * first_size, unsigned * en
return -1;
}
+void elf_invalidate(void) {
+ while (files != NULL) {
+ ELF_File * file = files;
+ files = file->next;
+ elf_dispose(file);
+ }
+}
+
void ini_elf(void) {
}

Back to the top