<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Whats the best way to merge two AttributeLists (maintaining semantics after inlining)?
<div class=""><br class="">
</div>
<div class="">What I have at the moment is </div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>result = <span style="font-family: Menlo; font-size: 11px;" class="">AttributeSet::get(gIR->context(), {a,b});</span></div>
<div class="">but this (completely reliably - no races) segfaults on certain input, but only whenever</div>
<div class="">our logging code is turned OFF (a runtime switch).</div>
<div class="">The attributes when logging is on are </div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>attributes #0 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false” </div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>"no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"=“false"</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span> }</div>
<div class=""><br class="">
</div>
<div class="">Any advice? </div>
<div class="">Also how do you print an attribute list?</div>
<div class=""><br class="">
</div>
</body>
</html>