search for: libfeature

Displaying 3 results from an estimated 3 matches for "libfeature".

2019 Feb 27
14
RFC: Linker feature for automatically partitioning a program into multiple binaries
...can also be fed to tools such as debuggers provided that the non-SHF_ALLOC sections are left in place. The envisaged usage of this feature is as follows: $ clang -ffunction-sections -fdata-sections -c main.c # compile the main program $ clang -ffunction-sections -fdata-sections -fsymbol-partition=libfeature.so -c feature.c # compile the feature $ clang main.o feature.o -fuse-ld=lld -shared -o libcombined.so -Wl,-soname,libmain.so -Wl,--gc-sections $ llvm-objcopy libcombined.so libmain.so --extract-partition=libmain.so $ llvm-objcopy libcombined.so libfeature.so --extract-partition=libfeature.so On An...
2019 Mar 02
2
RFC: Linker feature for automatically partitioning a program into multiple binaries
...non-SHF_ALLOC >> sections are left in place. >> >> The envisaged usage of this feature is as follows: >> $ clang -ffunction-sections -fdata-sections -c main.c # compile the main >> program >> $ clang -ffunction-sections -fdata-sections >> -fsymbol-partition=libfeature.so -c feature.c # compile the feature >> $ clang main.o feature.o -fuse-ld=lld -shared -o libcombined.so >> -Wl,-soname,libmain.so -Wl,--gc-sections >> $ llvm-objcopy libcombined.so libmain.so --extract-partition=libmain.so >> $ llvm-objcopy libcombined.so libfeature.so >...
2019 Feb 27
2
[cfe-dev] RFC: Linker feature for automatically partitioning a program into multiple binaries
...hat the non-SHF_ALLOC > sections are left in place. > > > > The envisaged usage of this feature is as follows: > > $ clang -ffunction-sections -fdata-sections -c main.c # compile the main > program > > $ clang -ffunction-sections -fdata-sections > -fsymbol-partition=libfeature.so -c feature.c # compile the feature > > $ clang main.o feature.o -fuse-ld=lld -shared -o libcombined.so > -Wl,-soname,libmain.so -Wl,--gc-sections > > $ llvm-objcopy libcombined.so libmain.so --extract-partition=libmain.so > > $ llvm-objcopy libcombined.so libfeature.so >...