[lld] [ELF] Support relocatable files using CREL (PR #98115)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 09:02:54 PDT 2024


================
@@ -205,6 +206,94 @@ class ThunkCreator {
   uint32_t pass = 0;
 };
 
+// Decode LEB128 without error checking. Only used by performance critical code
----------------
smithp35 wrote:

Although not for this patch. We might consider an optional slow-path or CREL validator, for diagnosing problems in the unlikely event of an encoding error.  

https://github.com/llvm/llvm-project/pull/98115


More information about the llvm-commits mailing list