[llvm] [BOLT] Change Relocation Type to 32-bit and add Optional flag (PR #130792)
    Maksim Panchenko via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Mar 11 22:59:43 PDT 2025
    
    
  
================
@@ -50,72 +55,79 @@ struct Relocation {
   /// Used to validate relocation correctness.
   uint64_t Value;
 
+  /// Relocations added by optimizations can be optional.
+  bool Optional = false;
----------------
maksfb wrote:
Move the new flag next to Type, such that the size of `struct Relocation` doesn't change.
https://github.com/llvm/llvm-project/pull/130792
    
    
More information about the llvm-commits
mailing list