summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2018-02-24 00:40:50 +0000
committerHeejin Ahn <aheejin@gmail.com>2018-02-24 00:40:50 +0000
commit9386bde11b7f996e6ce7c69a288f896d0c6bb480 (patch)
treea4406330e610e69c97e33b958fee5f672c84cfb3 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parentd99072bc9749874a7885740959e35ac08d99e324 (diff)
downloadbcm5719-llvm-9386bde11b7f996e6ce7c69a288f896d0c6bb480.tar.gz
bcm5719-llvm-9386bde11b7f996e6ce7c69a288f896d0c6bb480.zip
[WebAssembly] Add exception handling option and feature
Summary: Add a llc command line option and WebAssembly architecture feature for exception handling. Reviewers: dschuff Subscribers: jfb, sbc100, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D43683 llvm-svn: 326004
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 992eb40a025..979a03cf107 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -353,6 +353,9 @@ bool AsmPrinter::doInitialization(Module &M) {
break;
}
break;
+ case ExceptionHandling::Wasm:
+ // TODO to prevent warning
+ break;
}
if (ES)
Handlers.push_back(HandlerInfo(ES, EHTimerName, EHTimerDescription,
OpenPOWER on IntegriCloud