[llvm] [AMDGPU] Add AMDGPU support for llvm-objcopy (PR #92066)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 23:57:01 PDT 2024


================
@@ -129,6 +134,7 @@ FileHeader:
   # Arbitrary values that do not match any value we convert to via --output-format.
   Machine:         EM_NONE
   OSABI:           ELFOSABI_STANDALONE
+  Flags:           [[FLAGS=<none>]]
----------------
Pierre-vh wrote:

@aakanksha555 I think I understand the issue a bit better. Try this instead:
```suggestion
  Flags:           [ [[FLAGS]] ]
```

Then in the CL opt, remove the `[]`. That should expand to a `[]` when the flag isn't defined I believe.

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


More information about the llvm-commits mailing list