aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestCSharp.cpp
diff options
context:
space:
mode:
authorJann Horn <jannh@google.com>2020-04-30 11:05:00 +0200
committerAlexander Potapenko <glider@google.com>2020-04-30 17:09:13 +0200
commitcfe36e4c6a6671f21c2daf43a0ea33edb4477bc5 (patch)
tree6dc844edeffb277a4c49eacc9e9329714c8650d5 /clang/unittests/Format/FormatTestCSharp.cpp
parent223a95fdf078b22122732f2173ce37e971f080c4 (diff)
downloadllvm-cfe36e4c6a6671f21c2daf43a0ea33edb4477bc5.zip
llvm-cfe36e4c6a6671f21c2daf43a0ea33edb4477bc5.tar.gz
llvm-cfe36e4c6a6671f21c2daf43a0ea33edb4477bc5.tar.bz2
[AddressSanitizer] Refactor: Permit >1 interesting operands per instruction
Summary: Refactor getInterestingMemoryOperands() so that information about the pointer operand is returned through an array of structures instead of passing each piece of information separately by-value. This is in preparation for returning information about multiple pointer operands from a single instruction. A side effect is that, instead of repeatedly generating the same information through isInterestingMemoryAccess(), it is now simply collected once and then passed around; that's probably more efficient. HWAddressSanitizer has a bunch of copypasted code from AddressSanitizer, so these changes have to be duplicated. This is patch 3/4 of a patch series: https://reviews.llvm.org/D77616 [PATCH 1/4] [AddressSanitizer] Refactor ClDebug{Min,Max} handling https://reviews.llvm.org/D77617 [PATCH 2/4] [AddressSanitizer] Split out memory intrinsic handling https://reviews.llvm.org/D77618 [PATCH 3/4] [AddressSanitizer] Refactor: Permit >1 interesting operands per instruction https://reviews.llvm.org/D77619 [PATCH 4/4] [AddressSanitizer] Instrument byval call arguments [glider: renamed llvm::InterestingMemoryOperand::Type to OpType to fix GCC compilation] Reviewers: kcc, glider Reviewed By: glider Subscribers: hiraditya, jfb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77618
Diffstat (limited to 'clang/unittests/Format/FormatTestCSharp.cpp')
0 files changed, 0 insertions, 0 deletions