diff options
author | Fangrui Song <maskray@google.com> | 2020-01-31 22:25:16 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-02-07 09:35:26 -0800 |
commit | e2d7c5b2b6559f311938c0853b46ff21df55938a (patch) | |
tree | c473cdea3a04c855977a2a6e482eb6c8f33af26b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e3951248b14f5523cb93b380f0995d611a56192f (diff) | |
download | llvm-e2d7c5b2b6559f311938c0853b46ff21df55938a.zip llvm-e2d7c5b2b6559f311938c0853b46ff21df55938a.tar.gz llvm-e2d7c5b2b6559f311938c0853b46ff21df55938a.tar.bz2 |
[yaml2obj][test] Simplify some e_machine EI_CLASS EI_DATA tests
When both little-endian and big-endian are tested, or both 32-bit and 64-bit are tested, use a template like the following with `-D BITS=32 -D ENCODE=LSB`
```
--- !ELF
FileHeader:
Class: ELFCLASS[[BITS]]
Data: ELFDATA2[[ENCODE]]
Type: ET_DYN
Machine: EM_X86_64
```
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D73828
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions