|
Revision tags: llvmorg-20.1.0, llvmorg-20.1.0-rc3, llvmorg-20.1.0-rc2, llvmorg-20.1.0-rc1, llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6 |
|
| #
9320a32b |
| 15-Jun-2022 |
Florian Mayer <[email protected]> |
[MTE] [HWASan] Use LoopInfo for reachability queries.
The reachability queries default to "reachable" after exploring too many basic blocks. LoopInfo helps it skip over the whole loop.
Reviewed By:
[MTE] [HWASan] Use LoopInfo for reachability queries.
The reachability queries default to "reachable" after exploring too many basic blocks. LoopInfo helps it skip over the whole loop.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D127917
show more ...
|
| #
7a47ee51 |
| 21-Jun-2022 |
Kazu Hirata <[email protected]> |
[llvm] Don't use Optional::getValue (NFC)
|
|
Revision tags: llvmorg-14.0.5 |
|
| #
36c7d79d |
| 04-Jun-2022 |
Fangrui Song <[email protected]> |
Remove unneeded cl::ZeroOrMore for cl::opt options
Similar to 557efc9a8b68628c2c944678c6471dac30ed9e8e. This commit handles options where cl::ZeroOrMore is more than one line below cl::opt.
|
| #
557efc9a |
| 04-Jun-2022 |
Fangrui Song <[email protected]> |
[llvm] Remove unneeded cl::ZeroOrMore for cl::opt options. NFC
Some cl::ZeroOrMore were added to avoid the `may only occur zero or one times!` error. More were added due to cargo cult. Since the err
[llvm] Remove unneeded cl::ZeroOrMore for cl::opt options. NFC
Some cl::ZeroOrMore were added to avoid the `may only occur zero or one times!` error. More were added due to cargo cult. Since the error has been removed, cl::ZeroOrMore is unneeded.
Also remove cl::init(false) while touching the lines.
show more ...
|
|
Revision tags: llvmorg-14.0.4, llvmorg-14.0.3, llvmorg-14.0.2 |
|
| #
9727c77d |
| 25-Apr-2022 |
David Green <[email protected]> |
[NFC] Rename Instrinsic to Intrinsic
|
|
Revision tags: llvmorg-14.0.1, llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3 |
|
| #
4bfd8a2c |
| 09-Mar-2022 |
Florian Mayer <[email protected]> |
[NFC] [MTE] [HWASan] fixed orphaned comments.
|
| #
af224789 |
| 09-Mar-2022 |
Florian Mayer <[email protected]> |
[NFC] [MTE] [HWASan] simply code.
|
|
Revision tags: llvmorg-14.0.0-rc2 |
|
| #
86e26f09 |
| 17-Feb-2022 |
Florian Mayer <[email protected]> |
[MTE] Instrument use-after-scope for optnone functions.
We always need the Dominator and PostDominatorTree for use-after-scope.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org
[MTE] Instrument use-after-scope for optnone functions.
We always need the Dominator and PostDominatorTree for use-after-scope.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D119993
show more ...
|
| #
c195addb |
| 15-Feb-2022 |
Florian Mayer <[email protected]> |
[NFC] [MTE] [HWASan] Remove unnecessary member of AllocaInfo
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D119981
|
| #
a650bb58 |
| 15-Feb-2022 |
Florian Mayer <[email protected]> |
[NFC] [MTE] only do one pass over allocas for stack tagging.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D119801
|
| #
8de457ea |
| 12-Feb-2022 |
Florian Mayer <[email protected]> |
[HWASAN] use common alignAndPadAlloca
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D119614
|
| #
205308de |
| 12-Feb-2022 |
Florian Mayer <[email protected]> |
[NFC] [MTE] Move alignAndPadAlloca to MemoryTaggingSupport.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D119610
|
| #
6759cdd8 |
| 12-Feb-2022 |
Florian Mayer <[email protected]> |
[NFC] [MTE] Use helpers for stack tagging.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D119503
|
| #
b1bd64ae |
| 11-Feb-2022 |
Florian Mayer <[email protected]> |
Revert "[NFC] [MTE] Use helpers for stack tagging."
This reverts commit 8f0e5b4e26a54a3ec347d6499cbb43b15ad6352c.
|
| #
8f0e5b4e |
| 11-Feb-2022 |
Florian Mayer <[email protected]> |
[NFC] [MTE] Use helpers for stack tagging.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D119503
|
|
Revision tags: llvmorg-14.0.0-rc1 |
|
| #
e7356fb3 |
| 03-Feb-2022 |
Florian Mayer <[email protected]> |
[nfc] [hwasan] factor out logic to collect info about stack
this is the first step in unifying some of the logic between hwasan and mte stack tagging. this only moves around code, changes to converg
[nfc] [hwasan] factor out logic to collect info about stack
this is the first step in unifying some of the logic between hwasan and mte stack tagging. this only moves around code, changes to converge different implementations of the same logic follow later.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D118947
show more ...
|
| #
02dbed4b |
| 04-Feb-2022 |
Florian Mayer <[email protected]> |
[mte] [nfc] do not keep Tag in AllocaInfo
this is to get the implementation closer to HWASan
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D118960
|
| #
3918dd6b |
| 04-Feb-2022 |
Florian Mayer <[email protected]> |
[mte] fix runOnFunction return value falsely suggesting function was modified.
If NumInterestingAllocas == 0 we do not add any instrumentation or padding in the previous loop.
Reviewed By: eugenis
[mte] fix runOnFunction return value falsely suggesting function was modified.
If NumInterestingAllocas == 0 we do not add any instrumentation or padding in the previous loop.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D118961
show more ...
|
| #
9ac874ff |
| 03-Feb-2022 |
Florian Mayer <[email protected]> |
[nfc] [mte] use InstrIter.
this improves code clarity.
|
| #
29f92da5 |
| 02-Feb-2022 |
Florian Mayer <[email protected]> |
[mte] fix compiler crash with musttail.
see D118852 for matching hwasan fix.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D118854
|
| #
f7a6c341 |
| 02-Feb-2022 |
Florian Mayer <[email protected]> |
[mte] support more complicated lifetimes (e.g. for exceptions).
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D118848
|
|
Revision tags: llvmorg-15-init |
|
| #
8680d6db |
| 02-Feb-2022 |
Florian Mayer <[email protected]> |
[mte] work around lifetime issue with setjmp.
setjmp can return twice, but PostDominatorTree is unaware of this. as such, it overestimates postdominance, leaving some cases where memory does not get
[mte] work around lifetime issue with setjmp.
setjmp can return twice, but PostDominatorTree is unaware of this. as such, it overestimates postdominance, leaving some cases where memory does not get untagged on return. this causes false positives later in the program execution.
this is a workaround for now, in the longer term PostDominatorTree should be made aware of returns_twice, as this may cause problems elsewhere.
See D118647 for equivalent fix to HWASan.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D118749
show more ...
|
| #
712b31e2 |
| 02-Feb-2022 |
Florian Mayer <[email protected]> |
[NFC] factor isStandardLifetime out of HWASan
this is so we can use it for aarch64 stack tagging.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D118836
|
|
Revision tags: llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2 |
|
| #
5a81a603 |
| 09-Dec-2021 |
Arthur Eubanks <[email protected]> |
[NFC] Remove more calls to getAlignment()
These are deprecated and should be replaced with getAlign().
Some of these asserts don't do anything because Load/Store/AllocaInst never have a 0 align val
[NFC] Remove more calls to getAlignment()
These are deprecated and should be replaced with getAlign().
Some of these asserts don't do anything because Load/Store/AllocaInst never have a 0 align value.
show more ...
|
| #
d395befa |
| 11-Dec-2021 |
Kazu Hirata <[email protected]> |
[llvm] Use range-based for loops (NFC)
|