[Lldb-commits] [lldb] r193140 - Update ResolveFunctionPointers to build after the changes
Jason Molenda
jmolenda at apple.com
Mon Oct 21 20:11:56 PDT 2013
Author: jmolenda
Date: Mon Oct 21 22:11:55 2013
New Revision: 193140
URL: http://llvm.org/viewvc/llvm-project?rev=193140&view=rev
Log:
Update ResolveFunctionPointers to build after the changes
of llvm r193091. Thanks to Ed Maste for narrowing it down.
Modified:
lldb/trunk/source/Expression/IRForTarget.cpp
Modified: lldb/trunk/source/Expression/IRForTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRForTarget.cpp?rev=193140&r1=193139&r2=193140&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRForTarget.cpp (original)
+++ lldb/trunk/source/Expression/IRForTarget.cpp Mon Oct 21 22:11:55 2013
@@ -361,8 +361,8 @@ IRForTarget::ResolveFunctionPointers(llv
// be called with the builtin attribute on call sites. Remove any such
// attributes since it's illegal to have a builtin call to something
// other than a nobuiltin function.
- if (fun->hasFnAttribute(Attribute::NoBuiltin)) {
- Attribute builtin = Attribute::get(fun->getContext(), Attribute::Builtin);
+ if (fun->hasFnAttribute(llvm::Attribute::NoBuiltin)) {
+ llvm::Attribute builtin = llvm::Attribute::get(fun->getContext(), llvm::Attribute::Builtin);
for (auto u = fun->use_begin(), e = fun->use_end(); u != e; ++u) {
if (auto call = dyn_cast<CallInst>(*u)) {
More information about the lldb-commits
mailing list