Project

General

Profile

Feature #9935

Get rid of auxilary function duplicates

Added by Evgeny Novikov 22 days ago. Updated 2 days ago.

Status:
Closed
Priority:
Urgent
Category:
Weaving
Start date:
11/19/2019
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

At the moment Aspectator creates an auxiliary function for each matched join point. Often is is redundant since corresponding generated code is absolutely the same.

You should note that this issue is weakly related with #6486. There it is suggested to get rid of simple auxiliary functions that is quite hard to implement by the way. Here it is suggested to get rid of auxiliary function duplicates.

In addition, I expect that there will be no more numbers at the end of auxiliary function names and auxiliary functions will be always static. This will help to avoid nondeterminism in auxiliary function names and function collisions (sometimes there may be [different!] auxiliary functions with the same names in different source files merged together).


Related issues

Related to C Instrumentation Framework - Feature #6486: Get rid of auxiliary functions if possibleOpen12/26/2015

Actions

History

#1

Updated by Evgeny Novikov 22 days ago

  • Related to Feature #6486: Get rid of auxiliary functions if possible added
#2

Updated by Evgeny Novikov 2 days ago

  • Status changed from New to Closed

I did everything required in c294294. Please, note that in addition I had to change an auxiliary function prefix from "ldv_" to "cif_" to avoid collisions with Klever model functions.

Also available in: Atom PDF