[PATCH] D139296: [msan][CodeGen] Set noundef for C return value

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 5 15:10:28 PST 2022


aeubanks added inline comments.


================
Comment at: clang/lib/CodeGen/CGCall.cpp:1828
          !Module.MayDropFunctionReturn(Module.getContext(), RetTy) ||
          Module.getLangOpts().Sanitize.has(SanitizerKind::Memory) ||
          Module.getLangOpts().Sanitize.has(SanitizerKind::Return);
----------------
should this be dropped? and maybe also move up `SanitizerKind::Return`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139296/new/

https://reviews.llvm.org/D139296



More information about the cfe-commits mailing list