SNSystems / llvm-project-prepo

Fork of LLVM with modifications to support a program repository
26 stars 0 forks source link

Remove the "prepo-digest" macro definition to fix the warning. #132

Closed MaggieYingYi closed 3 years ago

MaggieYingYi commented 3 years ago

When building the llvm-project-prepo, the following warning is given.

llvm-project-prepo/llvm/lib/IR/RepoDefinition.cpp:29: warning: "DEBUG_TYPE" redefined
    #define DEBUG_TYPE "prepo-digest"

In file included from llvm-project-prepo/llvm/lib/IR/LLVMContextImpl.h:18,
                from /home/maggie/github/llvm-project-prepo/llvm/lib/IR/RepoDefinition.cpp:15:
llvm-project-prepo/llvm/lib/IR/ConstantsContext.h:40: note: this is the location of the previous definition
#define DEBUG_TYPE "ir"

Removed the "prepo-digest" macro definition to fix the warning.