4211 Commits

Author SHA1 Message Date
Arthur Eubanks
9786a3b4cf [gn build] Port 0a1317564a6b 2024-04-10 23:41:11 +00:00
Arthur Eubanks
233edab876 [gn build] Port 5d7d6ad663f8 2024-04-10 23:41:11 +00:00
Arthur Eubanks
4027066683 [gn build] Port 59e66c515a47 2024-04-10 23:41:10 +00:00
Arthur Eubanks
19e516fbed [gn build] Port 1fda1776e32b 2024-04-10 23:41:10 +00:00
Peter Collingbourne
4ae8694cca gn build: Manually port a30662fc2acd 2024-04-09 13:24:20 -07:00
Björn Pettersson
5d9d740c39
Remove the unused IntervalPartition analysis pass (#88133)
This removes the old legacy PM "intervals" analysis pass (aka
IntervalPartition). It also removes the associated Interval and
IntervalIterator help classes.

Reasons for removal:
1) The pass is not used by llvm-project (not even being tested by
   any regression tests).
2) Pass has not been ported to new pass manager, which at least
   indicates that it isn't used by the middle-end.
3) ASan reports heap-use-after-free on
      ++I;  // After the first one...
   even if false is passed to intervals_begin. Not sure if that is
   a false positive, but it makes the code a bit less trustworthy.
2024-04-09 20:12:26 +02:00
Arthur Eubanks
1c4ec8def6 [gn build] Port d2884444472e 2024-04-09 00:17:47 +00:00
Arthur Eubanks
65c57bf242 [gn build] Port 7a4e89761a13 2024-04-09 00:17:47 +00:00
Arthur Eubanks
b2f8172d72 [gn build] Port 27b2d7d4bb79 2024-04-09 00:17:47 +00:00
Arthur Eubanks
5772fc890f [gn build] Add missing dependency 2024-04-05 17:42:36 +00:00
Arthur Eubanks
965e053eb3 [gn build] Port f5960c168dfe 2024-04-05 17:37:46 +00:00
Arthur Eubanks
6411aaf99c [gn build] Port e84a757222aa 2024-04-05 17:37:45 +00:00
Arthur Eubanks
666fd665e9 [gn build] Port 30f6eafaa978 2024-04-05 17:37:44 +00:00
Arthur Eubanks
0e60cf7f4b [gn build] Manually port 68b939f9 2024-04-05 17:37:30 +00:00
Vitaly Buka
49f0b536fd
[UBSAN] Rename remove-traps to lower-allow-check (#84853) 2024-04-04 21:29:46 -07:00
Arthur Eubanks
258dd64978 [gn build] Port fd38366e4525 2024-04-04 17:05:32 +00:00
Arthur Eubanks
13e7572111 [gn build] Port 8bb9443333e0 2024-04-04 17:05:31 +00:00
Arthur Eubanks
6cf532891f [gn build] Port 3365d6217901 2024-04-04 17:05:30 +00:00
Arthur Eubanks
0f7266a97c [gn build] Manually port 6f2d8cc0 2024-04-04 17:05:11 +00:00
Arthur Eubanks
fb2a380b5d [gn build] Manually port 1679b27 2024-04-04 16:47:29 +00:00
LLVM GN Syncbot
1403cf67a6 [gn build] Port 316634ff5925 2024-03-29 11:12:23 +00:00
LLVM GN Syncbot
aeab2bb55e [gn build] Port 1d99d7a6f841 2024-03-29 08:00:41 +00:00
LLVM GN Syncbot
b343b02a88 [gn build] Port 4f9aab2b500d 2024-03-27 13:14:36 +00:00
LLVM GN Syncbot
408c36522f [gn build] Port 1103a2a337e9 2024-03-27 12:00:32 +00:00
Nico Weber
6187f271d1 [gn] port fa3d789df15b more (tblgen restructure)
I had missed that both tblgens still both need a bunch of identical
cpp files. Let's just reintroduce the source_set() for them, even
though the CMake build removed the object library for them in favor
of duplicating the file list for some reason.
2024-03-25 13:46:46 -04:00
Nico Weber
5ef09540e1 [gn] port 4fb0805c6525b
That's an old commit, but it suddenly became load-bearing, maybe
due to 0cf4788d9d0df609
2024-03-25 13:11:25 -04:00
Nico Weber
002f7808c9 [gn] port fa3d789df15b (tblgen restructure) 2024-03-25 12:36:17 -04:00
NagyDonat
e1d4ddb0c6
Reapply "[analyzer] Accept C library functions from the std namespace" again (#85791)
This reapplies 80ab8234ac309418637488b97e0a62d8377b2ecf again, after
fixing a name collision warning in the unit tests (see the revert commit
13ccaf9b9d4400bb128b35ff4ac733e4afc3ad1c for details).

In addition to the previously applied changes, this commit also clarifies the
code in MallocChecker that distinguishes POSIX "getline()" and C++ standard
library "std::getline()" (which are two completely different functions). Note
that "std::getline()" was (accidentally) handled correctly even without this
clarification; but it's better to explicitly handle and test this corner case.

---------

Co-authored-by: Balazs Benics <benicsbalazs@gmail.com>
2024-03-25 12:43:51 +01:00
LLVM GN Syncbot
8e698a1d8e [gn build] Port b68e2eba0bc8 2024-03-24 00:56:59 +00:00
Nico Weber
a118769ec8 [gn] port 3bc71c2abf 2024-03-23 20:56:45 -04:00
LLVM GN Syncbot
aa571a1e8f [gn build] Port 797336b1278c 2024-03-21 17:34:43 +00:00
T-Gruber
86d479fd7c
Adapted MemRegion::getDescriptiveName to handle ElementRegions (#85104)
Fixes https://github.com/llvm/llvm-project/issues/84463

Changes:
- Adapted MemRegion::getDescriptiveName
- Added unittest to check name for a given clang::ento::ElementRegion
- Some format changes due to clang-format

---------

Co-authored-by: Andreas Steinhausen <andreas.steinhausen@concenrio.io>
Co-authored-by: Balazs Benics <benicsbalazs@gmail.com>
2024-03-21 18:27:53 +01:00
LLVM GN Syncbot
26c3d018b1 [gn build] Port 857161c367a1 2024-03-21 13:57:14 +00:00
LLVM GN Syncbot
6086937976 [gn build] Port 36a3f8f6471b 2024-03-20 10:38:06 +00:00
LLVM GN Syncbot
73302d3ca4 [gn build] Port 31f4b329c823 2024-03-19 21:22:55 +00:00
LLVM GN Syncbot
ac7a456181 [gn build] Port 32a6e9d66945 2024-03-19 19:52:30 +00:00
LLVM GN Syncbot
4549f8910e [gn build] Port 28c1279db354 2024-03-19 19:52:29 +00:00
LLVM GN Syncbot
4e612a62bd [gn build] Port afec08ef9f10 2024-03-19 12:33:31 +00:00
LLVM GN Syncbot
eac68447ad [gn build] Port 59ff3adcc131 2024-03-19 07:48:14 +00:00
LLVM GN Syncbot
b1e10d7618 [gn build] Port 580f60484e19 2024-03-18 07:36:04 +00:00
Carlos Alberto Enciso
c1ccf0781b
[llvm-debuginfo-analyzer][NFC] Rename LVElfReader.cpp[h] (#85530)
As part of the WebAssembly support work review
  https://github.com/llvm/llvm-project/pull/82588

It was decided to rename:

  Files: LVElfReader.cpp[h] -> LVDWARFReader.cpp[h]
         ELFReaderTest.cpp  -> DWARFReaderTest.cpp

  Class: LVELFReader        -> LVDWARFReader

The name LVDWARFReader would match the another reader LVCodeViewReader
as they will reflect the type of
debug information format that they are parsing.
2024-03-18 05:08:42 +00:00
LLVM GN Syncbot
c0d03d28c5 [gn build] Port 56d45b09dcd6 2024-03-17 23:52:51 +00:00
Nico Weber
f98b556e0f [gn] port f2794ccede6d 2024-03-17 19:52:43 -04:00
Nico Weber
75473cf07e [gn] port c51095f51b77 (InstallAPI diag tablegen) 2024-03-17 19:51:41 -04:00
LLVM GN Syncbot
6e1959d0e7 [gn build] Port 0481f049c370 2024-03-15 21:33:28 +00:00
LLVM GN Syncbot
ba2e3bd396 [gn build] Port f01a32f5c58b 2024-03-15 17:01:45 +00:00
LLVM GN Syncbot
41ccebdda0 [gn build] Port e40bc8e509cd 2024-03-14 22:18:24 +00:00
LLVM GN Syncbot
486332af6b [gn build] Port f7bebc191484 2024-03-14 14:31:15 +00:00
Nico Weber
60d5486712 [gn] attempt to port 6885810e7de (vcsrevision dep in Support) 2024-03-13 20:57:56 -04:00
Nico Weber
6d8aba3d1a [gn] port 2dc9ec47fb16 2024-03-13 20:49:54 -04:00