LLVM: include/llvm/ObjCopy/MultiFormatConfig.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_OBJCOPY_MULTIFORMATCONFIG_H

10#define LLVM_OBJCOPY_MULTIFORMATCONFIG_H

11

13

14namespace llvm {

16

24

37

38}

39}

40

41#endif

Tagged union holding either a T or a Error.

Definition MultiFormatConfig.h:25

virtual ~MultiFormatConfig()=default

virtual Expected< const XCOFFConfig & > getXCOFFConfig() const =0

virtual Expected< const WasmConfig & > getWasmConfig() const =0

virtual Expected< const ELFConfig & > getELFConfig() const =0

virtual Expected< const COFFConfig & > getCOFFConfig() const =0

virtual Expected< const MachOConfig & > getMachOConfig() const =0

virtual const CommonConfig & getCommonConfig() const =0

virtual Expected< const DXContainerConfig & > getDXContainerConfig() const =0

This is an optimization pass for GlobalISel generic memory operations.