Displaying 2 results from an estimated 2 matches for "elfclassbit".
Did you mean:
elfclassbits
2020 Feb 04
2
RFC: Add a preprocessor to yaml2obj (and other YAML tools)
...mple (I've took it from D73828).
--- !ELF
FileHeader:
Class: ELFCLASS[[BITS]]
Data: ELFDATA2LSB
Type: ET_EXEC
Machine: EM_386
# RUN: yaml2obj %s --docnum=4 -D BITS=32 -o %t-32bit.o
# RUN: yaml2obj %s --docnum=4 -D BITS=64 -o %t-64bit.o
Without escaping it would be:
Class: ELFCLASSBITS
What does not look so clear as a version with escaping IMO.
Best regards,
George | Developer | Access Softek, Inc
________________________________
От: James Henderson <jh7370.2008 at my.bristol.ac.uk>
Отправлено: 4 февраля 2020 г. 12:09
Кому: Fangrui Song
Копия: llvm-dev; George Rimar
Те...
2020 Feb 03
2
RFC: Add a preprocessor to yaml2obj (and other YAML tools)
I am adding -D k=v to yaml2obj, similar to clang -D. This makes it easy
to generate {32-bit,64-bit} x {big-endian,little-endian} tests.
--- !ELF
FileHeader:
Class: ELFCLASS[[BITS]]
Data: ELFDATA2[[ENCODE]]
Type: ET_DYN
Machine: EM_X86_64
# RUN: yaml2obj -D BITS=32 -D ENCODE=LSB %s -o %t.32le
# RUN: yaml2obj -D BITS=32 -D ENCODE=MSB %s -o %t.32le
# RUN: yaml2obj