Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add a test for auto-args in dlopen library
The Parent and Child classes are in a library which is loaded by dlopen. $ uftrace -a t-dlopen2 [1358278] | main(1, 0xADDR) { 1.004 s [1358278] | dlopen("./libbaz.so", RTLD_LAZY) = 0xADDR; 11.847 us [1358278] | dlsym(0xADDR, "create") = &create; [1358278] | create() { [1358278] | Child::Child(0xADDR) { 7.422 us [1358278] | Parent::Parent(0xADDR); 8.859 us [1358278] | } /* Child::Child */ 10.168 us [1358278] | } = 0xADDR; /* create */ 99.308 us [1358278] | Child::func(0xADDR, 1) = 100; 36.109 us [1358278] | dlclose(0xADDR) = 0; 2.012 s [1358278] | } = 0; /* main */ Signed-off-by: Namhyung Kim <namhyung@gmail.com>
- Loading branch information