<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Assertion failed: ("conflicting locations for variable")"
   href="https://bugs.llvm.org/show_bug.cgi?id=33157">33157</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion failed: ("conflicting locations for variable")
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DebugInfo
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aprantl@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Assertion failure when compiling Adium.

$ cat test.mi
typedef signed char BOOL;
@protocol NSObject
@end
typedef double CGFloat;
struct CGPoint {
  CGFloat x;
  CGFloat y;
};
typedef struct CGPoint CGPoint;
struct CGSize {
  CGFloat width;
  CGFloat height;
};
typedef struct CGSize CGSize;
struct CGRect {
  CGPoint origin;
  CGSize size;
};
typedef struct CGRect CGRect;
typedef CGRect NSRect;
CGRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h) {
  CGRect r;
  r.origin.x = x;
  r.size.width = w;
  return r;
}
CGFloat NSMaxX(NSRect aRect) { return (aRect.origin.x + aRect.size.width); }
@protocol NSAccessibilityElement <NSObject>
@end
@interface NSView
@end
@interface KNShelfSplitView : NSView {
  CGSize backgroundSize;
}
@end
@implementation KNShelfSplitView
- (void)
:(NSRect)aRect active:(BOOL)isActive {
  NSRect sourceRect =
      NSMakeRect(0, 0, backgroundSize.width, backgroundSize.height);
  NSRect destRect = NSMakeRect(aRect.origin.x, aRect.origin.y,
                               sourceRect.size.width, aRect.size.height);
  while ((destRect.origin.x < NSMaxX(aRect)) && destRect.size.width > 0) {
    if (NSMaxX(destRect) > NSMaxX(aRect)) {
      sourceRect.size.width = NSWidth(destRect);
    }
  }
}
@end

$ clang -cc1 -triple x86_64-apple-macosx10.6.0 -emit-obj -dwarf-column-info
-debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=lldb -Os
-std=gnu99 -fblocks -x objective-c test.mi 2>&1 | grep all_of

Assertion failed: (all_of(FrameIndexExprs, [](FrameIndexExpr &FIE) { return
FIE.Expr && FIE.Expr->isFragment(); }) && "conflicting locations for
variable"), function addMMIEntry, file ../lib/CodeGen/AsmPrinter/DwarfDebug.h,
line 142.


This started failing with r302544:

Re-land "Use the frame index side table for byval and inalloca arguments"

This re-lands r302483. It was not the cause of PR32977.

git-original-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@302544">https://llvm.org/svn/llvm-project/llvm/trunk@302544</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>