Skip to content

Commit 8faccfd

Browse files
authored
Bump version number + update BreakingChanges (#796)
1 parent 17491f6 commit 8faccfd

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

BreakingChanges.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@
44

55
*None*
66

7+
## v2510
8+
9+
- Removed some old APIs from `PhasarConfig`
10+
- Removed the header `phasar/Config/Version.h`. Use the generated header `phasar/Config/phasar-config.h` instead.
11+
- Removed `getAsJson()` from various classes. Use `printAsJson(llvm::raw_ostream &)` instead.
12+
- Removed `CallGraphAnalysisType::DTA` and the `DTAResolver` (see below)
13+
- Removed the legacy flow functions `Identity`, `LambdaFlow`, etc. Use the static functions from `FlowFunctionTemplates` instead.
14+
- Removed getter-functions from `GeneralStatistics`. Use the corresponding public fields instead.
15+
- Removed `LLVMAliasGraph`. Use `LLVMAliasSet` instead.
16+
- Removed `TypeGraphs/*` as they are not used.
17+
- Removed the namespace-scoped function `initializeLogger()`. Use the static functions in the `Logger` class instead.
18+
- Removed `legacy::stripPointer(const llvm::Type *)` as it does not work anymore with opaque pointers.
19+
20+
721
## v2503
822

923
- The `DTAResolver` and the cli option `--call-graph-analysis=dta` do not work anymore (due to opaque pointers) and will be removed for the next release. Please use the `OTF` or `RTA` resolver instead.

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ if (NOT PHASAR_IN_TREE)
2727
project (phasar
2828
LANGUAGES C CXX
2929
DESCRIPTION "A LLVM-based static analysis framework."
30+
VERSION 2510
3031
)
3132
endif ()
32-
set(PHASAR_VERSION 2503)
33+
set(PHASAR_VERSION ${PROJECT_VERSION})
3334

3435
# NOTE: When we require cmake >= 3.21, we can use PROJECT_IS_TOP_LEVEL instead
3536
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
[![C++ Standard](https://img.shields.io/badge/C++_Standard-C%2B%2B17-blue.svg?style=flat&logo=c%2B%2B)](https://isocpp.org/)
66
[![GitHub license](https://img.shields.io/badge/license-MIT-blueviolet.svg)](https://raw.githubusercontent.com/secure-software-engineering/phasar/master/LICENSE.txt)
7-
8-
Version 2503
7+
[![GitHub Release](https://img.shields.io/github/v/release/secure-software-engineering/phasar?label=version)](https://github.com/secure-software-engineering/phasar/releases)
98

109
## What is PhASAR?
1110

examples/use-phasar-with-fetch-content/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ include(FetchContent)
1212
FetchContent_Declare(
1313
phasar
1414
GIT_REPOSITORY https://github.com/secure-software-engineering/phasar.git
15-
GIT_TAG development # At best, use a tagged version, such as v2503
15+
GIT_TAG development # At best, use a tagged version, such as v2510
1616
EXCLUDE_FROM_ALL
1717
OVERRIDE_FIND_PACKAGE
1818
)

0 commit comments

Comments
 (0)