mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-02 02:55:35 +00:00
Name Change: llvm-abcd -> llvm-bcanalyzer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14555 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
452069abcc
commit
8a542aeb84
@ -1,4 +1,4 @@
|
|||||||
##===- tools/llvm-abcd/Makefile ----------------------------*- Makefile -*-===##
|
##===- tools/llvm-bcanalyzer/Makefile ----------------------*- Makefile -*-===##
|
||||||
#
|
#
|
||||||
# The LLVM Compiler Infrastructure
|
# The LLVM Compiler Infrastructure
|
||||||
#
|
#
|
||||||
@ -8,6 +8,6 @@
|
|||||||
##===----------------------------------------------------------------------===##
|
##===----------------------------------------------------------------------===##
|
||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
|
|
||||||
TOOLNAME = llvm-abcd
|
TOOLNAME = llvm-bcanalyzer
|
||||||
USEDLIBS = bcreader vmcore support.a
|
USEDLIBS = bcreader vmcore support.a
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
@ -1,4 +1,4 @@
|
|||||||
//===-- llvm-abcd.cpp - Analysis of Byte Code Dumper ----------------------===//
|
//===-- llvm-bcanalyzer.cpp - Byte Code Analyzer --------------------------===//
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
||||||
@ -8,8 +8,8 @@
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
//
|
//
|
||||||
// This tool may be invoked in the following manner:
|
// This tool may be invoked in the following manner:
|
||||||
// llvm-abcd [options] - Read LLVM bytecode from stdin
|
// llvm-bcanalyzer [options] - Read LLVM bytecode from stdin
|
||||||
// llvm-abcd [options] x.bc - Read LLVM bytecode from the x.bc file
|
// llvm-bcanalyzer [options] x.bc - Read LLVM bytecode from the x.bc file
|
||||||
//
|
//
|
||||||
// Options:
|
// Options:
|
||||||
// --help - Output information about command line switches
|
// --help - Output information about command line switches
|
||||||
@ -49,7 +49,7 @@ int
|
|||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
cl::ParseCommandLineOptions(argc, argv,
|
cl::ParseCommandLineOptions(argc, argv,
|
||||||
" llvm-abcd Analysis of ByteCode Dumper\n");
|
" llvm-bcanalyzer Analysis of ByteCode Dumper\n");
|
||||||
|
|
||||||
PrintStackTraceOnErrorSignal();
|
PrintStackTraceOnErrorSignal();
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ main(int argc, char **argv)
|
|||||||
/// Analyze the bytecode file
|
/// Analyze the bytecode file
|
||||||
Module* M = AnalyzeBytecodeFile(InputFilename, bca, &ErrorMessage);
|
Module* M = AnalyzeBytecodeFile(InputFilename, bca, &ErrorMessage);
|
||||||
|
|
||||||
// All that abcd does is write the gathered statistics to the output
|
// All that bcanalyzer does is write the gathered statistics to the output
|
||||||
PrintBytecodeAnalysis(bca,*Out);
|
PrintBytecodeAnalysis(bca,*Out);
|
||||||
|
|
||||||
if ( M && Verify ) {
|
if ( M && Verify ) {
|
Loading…
Reference in New Issue
Block a user