[PATCH] D139395: Add support for integer types notmalization

Ramon de C Valle via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 5 23:51:23 PST 2022


rcvalle created this revision.
Herald added a subscriber: JDevlieghere.
Herald added a project: All.
rcvalle requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.

This commit adds support for normalizing integer types as vendor
extended types for cross-language LLVM CFI/KCFI support with other
languages that can't represent and encode C/C++ integer types.

This will help with providing cross-language CFI support with the Rust
compiler. For more information about LLVM CFI/KCFI and cross-language
LLVM CFI/KCFI support for the Rust compiler, see the design document in
the tracking issue rust-lang/rust#89653.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139395

Files:
  clang/include/clang/AST/Mangle.h
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/include/clang/Driver/SanitizerArgs.h
  clang/lib/AST/ItaniumMangle.cpp
  clang/lib/AST/MicrosoftMangle.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/Driver/SanitizerArgs.cpp
  clang/test/CodeGen/cfi-icall-normalize.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139395.480346.patch
Type: text/x-patch
Size: 12781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221206/00fbe166/attachment.bin>


More information about the cfe-commits mailing list