mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
this doesn't use EH either.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
set(LLVM_LINK_COMPONENTS bitreader analysis)
|
||||
set(LLVM_REQUIRES_EH 1)
|
||||
|
||||
add_llvm_tool(llvm-prof
|
||||
llvm-prof.cpp
|
||||
|
@ -10,7 +10,6 @@ LEVEL = ../..
|
||||
|
||||
TOOLNAME = llvm-prof
|
||||
LINK_COMPONENTS = bitreader analysis
|
||||
REQUIRES_EH := 1
|
||||
|
||||
# This tool has no plugins, optimize startup time.
|
||||
TOOL_NO_EXPORTS = 1
|
||||
|
@ -255,7 +255,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
LLVMContext &Context = getGlobalContext();
|
||||
llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
|
||||
try {
|
||||
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm profile dump decoder\n");
|
||||
|
||||
// Read in the bitcode file...
|
||||
@ -285,11 +285,4 @@ int main(int argc, char **argv) {
|
||||
PassMgr.run(*M);
|
||||
|
||||
return 0;
|
||||
} catch (const std::string& msg) {
|
||||
errs() << argv[0] << ": " << msg << "\n";
|
||||
} catch (...) {
|
||||
errs() << argv[0] << ": Unexpected unknown exception occurred.\n";
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user