Skip to content

Commit f3d5e9e

Browse files
committed
Merging in from mainline
llvm-svn: 27864
1 parent d04dd78 commit f3d5e9e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

llvm/tools/llc/llc.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@ int main(int argc, char **argv) {
216216
sys::RemoveFileOnSignal(sys::Path(OutputFilename));
217217
}
218218
}
219+
220+
if (FileType != TargetMachine::AssemblyFile)
221+
std::cerr << "WARNING: only -filetype=asm is currently supported.\n";
219222

220223
// Ask the target to add backend passes as necessary.
221224
if (Target.addPassesToEmitFile(Passes, *Out, FileType, Fast)) {

llvm/tools/llvm-db/llvm-db.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ namespace {
5050
// main Driver function
5151
//
5252
int main(int argc, char **argv, char * const *envp) {
53+
std::cout << "NOTE: llvm-db is known useless right now.\n";
5354
try {
5455
cl::ParseCommandLineOptions(argc, argv,
5556
" llvm source-level debugger\n");

0 commit comments

Comments
 (0)