projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3baa58
)
Also update the EH with bitcode. I missed this earlier. Thanks to Duncan for pointing...
author
Bill Wendling
<isanbard@gmail.com>
Wed, 5 Oct 2011 07:04:14 +0000
(07:04 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 5 Oct 2011 07:04:14 +0000
(07:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141169
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Reader/BitcodeReader.cpp
b/lib/Bitcode/Reader/BitcodeReader.cpp
index ca90315162924b436f7e33b558c4acc2f9121651..46565f36af16117244097a77de3dc314a82fdd51 100644
(file)
--- a/
lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/
lib/Bitcode/Reader/BitcodeReader.cpp
@@
-2939,6
+2939,9
@@
bool BitcodeReader::MaterializeModule(Module *M, std::string *ErrInfo) {
}
std::vector<std::pair<Function*, Function*> >().swap(UpgradedIntrinsics);
+ // Upgrade to new EH scheme. N.B. This will go away in 3.1.
+ UpgradeExceptionHandling(M);
+
// Check debug info intrinsics.
CheckDebugInfoIntrinsics(TheModule);