Skip to content

Commit 4448cd9

Browse files
authored
Merge pull request #525 from secure-software-engineering/f-FixesTestLinkingIssues
Fixes linking issues in utils and tests
2 parents 17ebc83 + d5e36be commit 4448cd9

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

lib/PhasarLLVM/ControlFlow/CFG.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
* Philipp Schubert and others
88
*****************************************************************************/
99

10-
#include <llvm/ADT/StringSwitch.h>
10+
#include "llvm/ADT/StringSwitch.h"
11+
#include "llvm/Support/raw_ostream.h"
12+
1113
#include <string>
1214

1315
#include "phasar/PhasarLLVM/ControlFlow/CFG.h"
@@ -37,8 +39,8 @@ SpecialMemberFunctionType toSpecialMemberFunctionType(const std::string &SMFT) {
3739
return Type;
3840
}
3941

40-
std::ostream &operator<<(std::ostream &OS,
41-
const SpecialMemberFunctionType &SMFT) {
42+
llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
43+
const SpecialMemberFunctionType &SMFT) {
4244
return OS << toString(SMFT);
4345
}
4446

lib/Utils/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ target_include_directories(phasar_utils PUBLIC ${LLVM_INCLUDE_DIRS})
3333
target_link_libraries(phasar_utils
3434
LINK_PUBLIC
3535
${CMAKE_DL_LIBS}
36+
${Boost_LIBRARIES}
37+
${PHASAR_STD_FILESYSTEM}
3638
)
3739

3840
set_target_properties(phasar_utils

0 commit comments

Comments
 (0)