mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
48f7ce88a6
- Apparently, I'm willing to do incredibly stupid things in the name of portability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82685 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
593 B
C++
18 lines
593 B
C++
//===- not.cpp - The 'not' testing tool -----------------------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/System/Path.h"
|
|
#include "llvm/System/Program.h"
|
|
using namespace llvm;
|
|
|
|
int main(int argc, const char **argv) {
|
|
sys::Path Program = sys::Program::FindProgramByName(argv[1]);
|
|
return !sys::Program::ExecuteAndWait(Program, argv + 1);
|
|
}
|