Lukasdoe wrote: Option 2. is not implemented in the latest commit. We parse the branch hint section in the input section in lld, discard any functions that are not present in the output file and then write them into the output buffer.
I also added a test case for the scenario of removed functions. https://github.com/llvm/llvm-project/pull/146230 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits