Skip to content

Commit a329386

Browse files
committed
Merge branch 'development' into f-DeboostifiedLogger
2 parents eeb0841 + df77c7c commit a329386

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

cmake/phasar_macros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function(generate_ll_file)
7979
set(test_code_file_target "${parent_dir}_${test_code_file_name}${ll_file_suffix}")
8080

8181
# define compilation flags
82-
set(GEN_CXX_FLAGS -std=c++14 -fno-discard-value-names -emit-llvm -S)
82+
set(GEN_CXX_FLAGS -std=c++17 -fno-discard-value-names -emit-llvm -S)
8383
set(GEN_C_FLAGS -fno-discard-value-names -emit-llvm -S)
8484
set(GEN_CMD_COMMENT "[LL]")
8585
if(GEN_LL_MEM2REG)

unittests/PhasarLLVM/DataFlowSolver/IfdsIde/Problems/IDEGeneralizedLCATest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ TEST_F(IDEGeneralizedLCATest, StringTestCpp) {
135135
const auto *LastMainInstruction =
136136
getLastInstructionOf(IRDB->getFunction("main"));
137137
GroundTruth.push_back({{EdgeValue("Hello, World")},
138-
2,
138+
3,
139139
std::stoi(getMetaDataID(LastMainInstruction))});
140140
compareResults(GroundTruth);
141141
}

unittests/PhasarLLVM/DataFlowSolver/IfdsIde/Problems/IDEInstInteractionAnalysisTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,10 +640,10 @@ PHASAR_SKIP_TEST(TEST_F(IDEInstInteractionAnalysisTest, HandleRVOTest_01) {
640640
"main", 16, "retval", {"23", "35", "37"}));
641641
GroundTruth.emplace(
642642
std::tuple<std::string, size_t, std::string, BitVectorSet<std::string>>(
643-
"main", 16, "str", {"24", "29", "31", "33", "36"}));
643+
"main", 16, "str", {"70", "65", "72", "74", "77"}));
644644
GroundTruth.emplace(
645645
std::tuple<std::string, size_t, std::string, BitVectorSet<std::string>>(
646-
"main", 16, "ref.tmp", {"25", "5", "8", "31", "32", "30"}));
646+
"main", 16, "ref.tmp", {"66", "9", "6", "29", "72", "73", "71"}));
647647
doAnalysisAndCompareResults("rvo_01_cpp.ll", GroundTruth, false);
648648
})
649649

unittests/PhasarLLVM/TypeHierarchy/LLVMTypeHierarchyTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ PHASAR_SKIP_TEST(TEST(LTHTest, HandleSTLString) {
735735
ProjectIRDB IRDB({unittest::PathToLLTestFiles +
736736
"type_hierarchies/type_hierarchy_13_cpp.ll"});
737737
LLVMTypeHierarchy TH(IRDB);
738-
EXPECT_EQ(TH.getAllTypes().size(), 4U);
738+
EXPECT_EQ(TH.getAllTypes().size(), 7U);
739739
EXPECT_TRUE(TH.hasType(TH.getType("class.std::__cxx11::basic_string")));
740740
EXPECT_TRUE(TH.hasType(
741741
TH.getType("struct.std::__cxx11::basic_string<char>::_Alloc_hider")));

0 commit comments

Comments
 (0)