diff options
author | Fangrui Song <i@maskray.me> | 2024-04-29 13:11:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 13:11:58 -0700 |
commit | a5cc95147ed549e850b4e9641e84641e781e0ceb (patch) | |
tree | a30bd0f415fb29eda6b1c67c44032a2ad660e371 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 326657f5679889e3374354ba3243e27bda2080f4 (diff) | |
download | llvm-a5cc95147ed549e850b4e9641e84641e781e0ceb.zip llvm-a5cc95147ed549e850b4e9641e84641e781e0ceb.tar.gz llvm-a5cc95147ed549e850b4e9641e84641e781e0ceb.tar.bz2 |
[BinaryFormat] Adjust OSABI functions and add unittests
Adjust #89280:
* ELFOSABI_LINUX is a historical alias that should not be used in new
code. readelf -h displays "UNIX - GNU" instead of "Linux".
* "OS" is inappropriate. Some values are architecture-specific, e.g.
ELFOSABI_ARM.
* Drop lowercase, which seems a job of the caller.
Add some unittests.
Pull Request: https://github.com/llvm/llvm-project/pull/90270
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions