CHPE metadata is used by ARM64EC/ARM64X PE files to provide metadata for emulator/loader. Most of this metadata will need to be generated by LLD.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Object/COFFObjectFile.cpp | ||
---|---|---|
758 | Does "is64()" here refer to whether the target is 32-bit? I guess 32-bit ARM CHPE is a thing that exists, but it doesn't look like the rest of the code is built to accept it; I'd rather bail out as soon as possible. | |
llvm/tools/llvm-readobj/COFFDumper.cpp | ||
924 | Not sure you need to print CodeRangesToEntryPointsCount/RedirectionMetadataCount separately? You can easily infer it from what is already dumped. |
Comment Actions
Thanks. Yes, 32-bit CHPE looks very different, the new version of the patch limits its use to 64-bit targets. I also removes dumping redundant *Count variables. Also, similar to D149091, I changed the test to use yaml2obj.
Does "is64()" here refer to whether the target is 32-bit? I guess 32-bit ARM CHPE is a thing that exists, but it doesn't look like the rest of the code is built to accept it; I'd rather bail out as soon as possible.