Displaying 1 result from an estimated 1 matches for "wdcache".
Did you mean:
dcache
2019 Feb 06
2
Not to consolidate two structs with the same data types (but different names) in configure/make tool chain
...ith the following
environment variables,
CC=clang CXX=clang++ RANLIB=llvm-ranlib CFLAGS=-flto LDFLAGS=-flto\
-fuse-ld=gold\ -Wl\,-plugin-opt=save-temps
I see all the variables declared as sh_obj_cache_t in the source code
becomes of type %struct.dstack instead of %struct.objcache.
sh_obj_cache_t wdcache = {0, 0, 0};
@wdcache = dso_local global %struct.dstack zeroinitializer, align 8, !dbg !1189
If I directly compile the .c file to .ll, I will not see this problem.
Is there a way to still use the configure/make toolchain, yet still
maintain the original type information instead of consolidating...