test(ffi-linkage): xfail export "csym" rename (Phase 2.2)
example/1227 exposes the sx fn `sx_triple` to C under the symbol `triple_c` via `export "triple_c"`; the companion C calls `triple_c` by that name. RED: the define path emits the fn under its sx name (`sx_triple`) and ignores the parsed `extern_name`, so the C reference to `triple_c` is undefined at AOT link. The next commit consumes the rename on the define path (gap iii) and greens it.
This commit is contained in:
0
examples/expected/1227-ffi-export-fn-rename.aot
Normal file
0
examples/expected/1227-ffi-export-fn-rename.aot
Normal file
1
examples/expected/1227-ffi-export-fn-rename.exit
Normal file
1
examples/expected/1227-ffi-export-fn-rename.exit
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
examples/expected/1227-ffi-export-fn-rename.stderr
Normal file
0
examples/expected/1227-ffi-export-fn-rename.stderr
Normal file
1
examples/expected/1227-ffi-export-fn-rename.stdout
Normal file
1
examples/expected/1227-ffi-export-fn-rename.stdout
Normal file
@@ -0,0 +1 @@
|
||||
call_triple(7) = 22
|
||||
Reference in New Issue
Block a user