Arthur Eubanks
0f0ff33037
[NPM][StackSafetyAnalysis] Pin uses of -analyze to legacy PM
...
Tests already have corresponding NPM RUN lines.
2020-10-19 21:24:03 -07:00
Vitaly Buka
47552a614a
[StackSafety] Change how callee searched in index
...
Handle other than local linkage types.
2020-08-16 04:37:19 -07:00
Vitaly Buka
798eb71c3a
[NFC][StackSafety] Dedup callees
2020-08-14 01:14:52 -07:00
Vitaly Buka
3a34228bff
[StackSafety] Don't keep FullSet in index
...
Optimization. Missing record is enterpreted as FullSet anyway.
2020-08-09 15:01:46 -07:00
Vitaly Buka
654266bea9
[StackSafety] Use getSignedMin() to serialize ranges
...
Almost NFC as it's important only for full sets which should not
be serialized at all.
2020-08-09 14:53:13 -07:00
Vitaly Buka
eff04f9595
[NFC][StackSafety] Add index test
...
This directly covers generateParamAccessSummary
2020-08-09 14:34:00 -07:00
Vitaly Buka
2fa401fe53
[NFC][StackSafety] Add shell test requirement
2020-08-09 14:31:17 -07:00
Vitaly Buka
2a11d5dcc9
[NFC][StackSafety] Avoid some duplications in tests
2020-08-09 12:38:53 -07:00
Vitaly Buka
6d9b3cb2fb
Revert "[NFC][StackSafety] Add index test"
...
This reverts commit 5fd49911db
.
GUIDs don't match.
2020-08-08 21:26:35 -07:00
Vitaly Buka
5fd49911db
[NFC][StackSafety] Add index test
...
This directly covers generateParamAccessSummary
2020-08-08 19:11:02 -07:00
Vitaly Buka
7fb9de2c6f
[StackSafety,NFC] Fix tests in debug
2020-08-06 20:46:39 -07:00
Vitaly Buka
39cbcbe1b1
[StackSafety,NFC] Add more tests
2020-08-06 19:50:05 -07:00
Vitaly Buka
d97636196a
[StackSafety,NFC] Sort llvm-lto2 resolutions in tests
2020-08-06 19:46:52 -07:00
Vitaly Buka
92dcf12b2f
[StackSafety,NFC] Use CHECK-EMPTY in tests
2020-08-06 19:19:51 -07:00
Vitaly Buka
c1e47b47f8
[StackSafety] Run ThinLTO
...
Summary:
ThinLTO linking runs dataflow processing on collected
function parameters. Then StackSafetyGlobalInfoWrapperPass
in ThinLTO backend will run as usual looking up to external
symbol in the summary if needed.
Depends on D80985.
Reviewers: eugenis, pcc
Reviewed By: eugenis
Subscribers: inglorion, hiraditya, steven_wu, dexonsmith, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D81242
2020-06-12 18:11:29 -07:00
Vitaly Buka
6dd738e2f0
[StackSafety,NFC] Switch tests to aarch64
2020-06-05 00:24:02 -07:00
Vitaly Buka
d3b7f90d00
[StackSafety] Skip non-pointer parameters
...
Summary: Depends on D80908.
Reviewers: eugenis, pcc
Reviewed By: eugenis
Subscribers: hiraditya, steven_wu, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80956
2020-06-03 01:16:39 -07:00
Vitaly Buka
d0f1f5adfa
[StackSafety] Use getSignedRange for offsets
2020-05-26 23:22:36 -07:00
Vitaly Buka
42b050673e
[stack-safety] Inter-Procedural Analysis implementation
...
Summary:
IPA is implemented as module pass which produce map from Function or Alias to
StackSafetyInfo for a single function.
From prototype by Evgenii Stepanov and Vlad Tsyrklevich.
Reviewers: eugenis, vlad.tsyrklevich, pcc, glider
Subscribers: hiraditya, mgrang, llvm-commits
Differential Revision: https://reviews.llvm.org/D54543
llvm-svn: 347611
2018-11-26 23:05:58 +00:00