Joseph Huber 228c8f9cc0 [ObjectYAML] Add offloading binary implementations for obj2yaml and yaml2obj
This patchs adds the necessary code for inspecting or creating offloading
binaries using the standing `obj2yaml` and `yaml2obj` features in LLVM.

Depends on D127774

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D127776
2022-07-01 21:13:18 -04:00

12 lines
257 B
YAML

# RUN: yaml2obj %s | obj2yaml | FileCheck %s
!Offload
Members:
-
# CHECK: --- !Offload
# CHECK-NEXT: Members:
# CHECK-NEXT: - ImageKind: IMG_None
# CHECK-NEXT: OffloadKind: OFK_None
# CHECK-NEXT: Flags: 0
# CHECK-NEXT: ...