Skip to content

Commit 51f088a

Browse files
committed
Allow extra entry-points to be specified for CI lazy loading
This allows driver programs that want more symbols elaborated than are strictly accessible from the input arguments to request them. This makes java-frontend documentation uniform rather than duplicate the docs as usual, and also makes get_values non-fatal for parameters a particular frontend did not supply, in common with other getters, in order to avoid breaking unit tests that don't use lazy-methods.
1 parent ab0a35c commit 51f088a

32 files changed

+347
-89
lines changed
444 Bytes
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
test.class
3+
--lazy-methods --verbosity 10 --function test.f --lazy-methods-extra-entry-point test.sety
4+
^EXIT=6$
5+
^SIGNAL=0$
6+
entry point 'test\.sety' is ambiguous between:
7+
test\.sety:\(I\)V
8+
test\.sety:\(F\)V
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
public class test {
2+
3+
int x;
4+
int y;
5+
6+
public test() { x = 1; y = 2; }
7+
public void setx(int _x) { x = _x; }
8+
public void sety(int _y) { y = _y; }
9+
public void sety(float _y) { y = (int)_y; }
10+
public void f() { }
11+
12+
}
13+
14+
444 Bytes
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
test.class
3+
--lazy-methods --verbosity 10 --function test.f --lazy-methods-extra-entry-point "test.sety:(I)V" --lazy-methods-extra-entry-point "test.sety:(F)V"
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
VERIFICATION SUCCESSFUL
7+
CI lazy methods: elaborate java::test\.sety:\(I\)V
8+
CI lazy methods: elaborate java::test\.sety:\(F\)V
9+
--
10+
CI lazy methods: elaborate java::test\.setx:\(I\)V
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
public class test {
2+
3+
int x;
4+
int y;
5+
6+
public test() { x = 1; y = 2; }
7+
public void setx(int _x) { x = _x; }
8+
public void sety(int _y) { y = _y; }
9+
public void sety(float _y) { y = (int)_y; }
10+
public void f() { }
11+
12+
}
13+
14+
444 Bytes
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
test.class
3+
--lazy-methods --verbosity 10 --function test.f --lazy-methods-extra-entry-point test.setx
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
VERIFICATION SUCCESSFUL
7+
CI lazy methods: elaborate java::test\.setx:\(I\)V
8+
--
9+
CI lazy methods: elaborate java::test\.sety:\(I\)V
10+
CI lazy methods: elaborate java::test\.sety:\(F\)V
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
public class test {
2+
3+
int x;
4+
int y;
5+
6+
public test() { x = 1; y = 2; }
7+
public void setx(int _x) { x = _x; }
8+
public void sety(int _y) { y = _y; }
9+
public void sety(float _y) { y = (int)_y; }
10+
public void f() { }
11+
12+
}
13+
14+
444 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)