diff options
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetMachine.cpp')
| -rw-r--r-- | llvm/lib/Target/PIC16/PIC16TargetMachine.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetMachine.cpp b/llvm/lib/Target/PIC16/PIC16TargetMachine.cpp index 4a0a3b01c81..f2ddad14bf2 100644 --- a/llvm/lib/Target/PIC16/PIC16TargetMachine.cpp +++ b/llvm/lib/Target/PIC16/PIC16TargetMachine.cpp @@ -21,6 +21,14 @@ using namespace llvm; +/// PIC16TargetMachineModule - Note that this is used on hosts that +/// cannot link in a library unless there are references into the +/// library. In particular, it seems that it is not possible to get +/// things to work on Win32 without this. Though it is unused, do not +/// remove it. +extern "C" int PIC16TargetMachineModule; +int PIC16TargetMachineModule = 0; + namespace { // Register the targets RegisterTarget<PIC16TargetMachine> X("pic16", "PIC16 14-bit [experimental]"); |

