[PATCH] D149816: [clang][Interp] Implement __builtin_strcmp

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 22:37:01 PDT 2023


tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, tahonermann, shafik.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

  Make our Function class keep a list of parameter offsets so we can
  simply get a parameter by index when evaluating builtin functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149816

Files:
  clang/lib/AST/Interp/ByteCodeEmitter.cpp
  clang/lib/AST/Interp/Function.cpp
  clang/lib/AST/Interp/Function.h
  clang/lib/AST/Interp/Interp.h
  clang/lib/AST/Interp/InterpBuiltin.cpp
  clang/lib/AST/Interp/Pointer.h
  clang/test/AST/Interp/builtin-functions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149816.519359.patch
Type: text/x-patch
Size: 10329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230504/27222b8f/attachment-0001.bin>


More information about the cfe-commits mailing list