1//===-- llc.cpp - Implement the LLVM Native Code Generator ----------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 93 unchanged lines hidden (view full) --- 102cl::opt<bool> DisableCFI("disable-cfi", cl::Hidden, 103 cl::desc("Do not use .cfi_* directives")); 104 105static cl::opt<bool> 106DisableRedZone("disable-red-zone", 107 cl::desc("Do not emit code that uses the red zone."), 108 cl::init(false)); 109 |
110// GetFileNameRoot - Helper function to get the basename of a filename. 111static inline std::string 112GetFileNameRoot(const std::string &InputFilename) { 113 std::string IFN = InputFilename; 114 std::string outputFilename; 115 int Len = IFN.length(); 116 if ((Len > 2) && 117 IFN[Len-3] == '.' && --- 228 unchanged lines hidden --- |