<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - Don't emit .cfi pseudo-ops when not using the integrated assembler"
href="https://llvm.org/bugs/show_bug.cgi?id=30865">30865</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Don't emit .cfi pseudo-ops when not using the integrated assembler
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jeremyhu@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>clang-3.5 and newer fail with -no-integrated-as because of .cfi pseuro-ops.
clang-3.4 and earlier work fine.
$ clang++-mp-devel --version
clang version 4.0.0 (trunk 285644)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-devel/bin
$ clang++-mp-devel test_throw.cxx -stdlib=libc++ -arch x86_64 -no-integrated-as
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:6:Unknown
pseudo-op: .cfi_startproc
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:7:Unknown
pseudo-op: .cfi_personality
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:7:Rest of
line ignored. 1st junk character valued 49 (1).
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:8:Unknown
pseudo-op: .cfi_lsda
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:8:Rest of
line ignored. 1st junk character valued 49 (1).
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:12:Unknown
pseudo-op: .cfi_def_cfa_offset
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:12:Rest of
line ignored. 1st junk character valued 49 (1).
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:14:Unknown
pseudo-op: .cfi_offset
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:14:Rest of
line ignored. 1st junk character valued 37 (%).
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:17:Unknown
pseudo-op: .cfi_def_cfa_register
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:17:Rest of
line ignored. 1st junk character valued 37 (%).
/var/folders/1b/f1bzh5152y9bvygzl07fn87m0000gn/T/test_throw-9b9122.s:80:Unknown
pseudo-op: .cfi_endproc
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)</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>