<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 --- - clang-format seg faults on byte order marker / utf-16"
   href="https://llvm.org/bugs/show_bug.cgi?id=28679">28679</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang-format seg faults on byte order marker / utf-16
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>Formatter
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>j.david.berger@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>djasper@google.com, klimek@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16797" name="attach_16797" title="File with BOM marker. Possible that the upload stripped it out though; first two bytes should be 0xff 0xfe.">attachment 16797</a> <a href="attachment.cgi?id=16797&action=edit" title="File with BOM marker. Possible that the upload stripped it out though; first two bytes should be 0xff 0xfe.">[details]</a></span>
File with BOM marker. Possible that the upload stripped it out though; first
two bytes should be 0xff 0xfe.

$ clang-format -style="google" -i break.h
0  libLLVM-3.8.so.1 0x00007f714174bd38
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 56
1  libLLVM-3.8.so.1 0x00007f7141749fc6 llvm::sys::RunSignalHandlers() + 54
2  libLLVM-3.8.so.1 0x00007f714174a129
3  libc.so.6        0x00007f7140a9d4a0
4  clang-format     0x000000000040fe0f
5  clang-format     0x000000000040e2f4
6  clang-format     0x0000000000413a14
7  clang-format     0x0000000000414c76
8  clang-format     0x000000000045791a
9  clang-format     0x00000000004591f0
10 clang-format     0x000000000040bdba
11 clang-format     0x000000000040a1a8
12 libc.so.6        0x00007f7140a88830 __libc_start_main + 240
13 clang-format     0x000000000040a2b9
Segmentation fault

$ clang-format --version
clang-format version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)</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>