[llvm] [AMDGPU] Add an asm directive to track code_object_version (PR #76267)

Emma Pilkington via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 18:53:27 PST 2024


================
@@ -279,6 +280,10 @@ class MCAssembler {
   unsigned getELFHeaderEFlags() const { return ELFHeaderEFlags; }
   void setELFHeaderEFlags(unsigned Flags) { ELFHeaderEFlags = Flags; }
 
+  /// ELF e_ident[EI_ABIVERSION] value
+  unsigned char getELFHeaderABIVersion() const { return ELFHeaderABIVersion; }
----------------
epilk wrote:

Sure, I can do it like that if you prefer. Would you mind verifying the update is what you had in mind?

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


More information about the llvm-commits mailing list