projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++11] Replace OwningPtr::take() with OwningPtr::release().
[oota-llvm.git]
/
tools
/
obj2yaml
/
obj2yaml.cpp
diff --git
a/tools/obj2yaml/obj2yaml.cpp
b/tools/obj2yaml/obj2yaml.cpp
index 8d128b35394488359f75578570f5d49be2c3839c..d675f59cf484644f079fe188bb57a0a3c2192896 100644
(file)
--- a/
tools/obj2yaml/obj2yaml.cpp
+++ b/
tools/obj2yaml/obj2yaml.cpp
@@
-45,7
+45,7
@@
int main(int argc, char *argv[]) {
errs() << "Error: '" << ec.message() << "' opening file '" << InputFilename
<< "'\n";
} else {
- ec = coff2yaml(outs(), buf.
tak
e());
+ ec = coff2yaml(outs(), buf.
releas
e());
if (ec)
errs() << "Error: " << ec.message() << " dumping COFF file\n";
}