mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
For PR780:
1. Fix the macros in IncludeFile.h to put everything in the llvm namespace 2. Replace the previous explicit mechanism in all the .h and .cpp files with the macros in IncludeFile.h This gets us a consistent mechanism throughout LLVM for ensuring linkage. Next step is to make sure its used in enough places. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28715 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -239,4 +239,5 @@ void BVNImpl::handleTernaryInst(Instruction &I) {
|
||||
}
|
||||
|
||||
|
||||
int llvm::BasicValueNumberingStub; // to ensure linkage of this file
|
||||
// Ensure that users of ValueNumbering.h will link with this file
|
||||
DEFINING_FILE_FOR(BasicValueNumbering)
|
||||
|
Reference in New Issue
Block a user