<div dir="ltr">Ah - sorry for the breakage (didn't see this on any bots). Most/all of the LLVM debug code never brings in the 'dwarf' namespace, I guess you've got some code that does. Probably better to remove the 'using namespace dwarf' and add a few 'dwarf::' around the place, rather than adding 'llvm::', but whichever way suits your coding conventions/styles should address the issue.<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 7:56 PM, Ed Maste <span dir="ltr"><<a href="mailto:emaste@freebsd.org" target="_blank">emaste@freebsd.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 21 October 2013 20:24, Michael Sartain <<a href="mailto:mikesart@gmail.com">mikesart@gmail.com</a>> wrote:<br>
> I'm running into build errors at current top of tree (r193132). Anyone else<br>
> seeing these?<br>
<br>
Yes, after updating llvm from 193083 to 193137 I see this when<br>
building lldb as well. It looks like it's r193091.<br>
<br>
It builds for me with this change:<br>
<br>
diff --git a/source/Expression/IRForTarget.cpp<br>
b/source/Expression/IRForTarget.cpp<br>
index cac3fdf..4d14ebd 100644<br>
--- a/source/Expression/IRForTarget.cpp<br>
+++ b/source/Expression/IRForTarget.cpp<br>
@@ -361,8 +361,8 @@ IRForTarget::ResolveFunctionPointers(llvm::Module<br>
&llvm_module)<br>
// be called with the builtin attribute on call sites. Remove any such<br>
// attributes since it's illegal to have a builtin call to something<br>
// other than a nobuiltin function.<br>
- if (fun->hasFnAttribute(Attribute::NoBuiltin)) {<br>
- Attribute builtin = Attribute::get(fun->getContext(),<br>
Attribute::Builtin);<br>
+ if (fun->hasFnAttribute(llvm::Attribute::NoBuiltin)) {<br>
+ llvm::Attribute builtin =<br>
llvm::Attribute::get(fun->getContext(), llvm::Attribute::Builtin);<br>
<br>
for (auto u = fun->use_begin(), e = fun->use_end(); u != e; ++u) {<br>
if (auto call = dyn_cast<CallInst>(*u)) {<br>
</blockquote></div><br></div></div>