dg
dg copied to clipboard
CFG include is missing condition for LLVM version <= 3.5
In order to support LLVM <= 3.5, the following source code file should include CFG.h as following:
#if ((LLVM_VERSION_MAJOR == 3) && (LLVM_VERSION_MINOR < 5))
#include <llvm/Support/CFG.h>
#else
#include <llvm/IR/CFG.h>
#endif
The files are:
- lib/llvm/analysis/ThreadRegions/sources/Graphs/GraphBuilder.cpp
- include/dg/llvm/analysis/ValueRelations/ValueRelationsAnalysis.h
- lib/llvm/analysis/ControlDependence/GraphBuilder.cpp
- include/dg/llvm/analysis/ValueRelations/ValueRelations.h
Hi, could you please provide a pull-request? Thanks.
Hi, could you please provide a pull-request? Thanks.
Hi, we fix it. Later, we will provide a pull-request.