<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 --- - trunk r285644: Assertion failed: (!KeyInfoT::isEqual(Val, EmptyKey) && !KeyInfoT::isEqual(Val, TombstoneKey) && "Empty/Tombstone value shouldn't be inserted into map!""
   href="https://llvm.org/bugs/show_bug.cgi?id=30914">30914</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>trunk r285644: Assertion failed: (!KeyInfoT::isEqual(Val, EmptyKey) && !KeyInfoT::isEqual(Val, TombstoneKey) && "Empty/Tombstone value shouldn't be inserted into map!"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>unassignedbugs@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>Seeing this failure when compiling ffmpeg for x86_64 with recent trunk
(r285644).

We were previously at r284098.  This regressed when updating to r285644.

---

Assertion failed: (!KeyInfoT::isEqual(Val, EmptyKey) && !KeyInfoT::isEqual(Val,
TombstoneKey) && "Empty/Tombstone value shouldn't be inserted into map!"),
function LookupBucketFor, file
/opt/local/var/macports/build/_Users_jeremy_src_macports_macports-ports_lang_llvm-devel/llvm-devel/work/trunk/include/llvm/ADT/DenseMap.h,
line 527.
Stack dump:
0.    Program arguments: /opt/local/libexec/llvm-devel/bin/clang -cc1 -triple
x86_64-apple-macosx10.12.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -emit-obj -disable-free -main-file-name
huffman.c -mrelocation-model pic -pic-level 2 -mthread-model posix
-fno-signed-zeros -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 274.1 -dwarf-column-info -debug-info-kind=standalone
-dwarf-version=4 -debugger-tuning=lldb -coverage-notes-file
/Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-devel/build/libavcodec/huffman.gcno
-resource-dir /opt/local/libexec/llvm-devel/bin/../lib/clang/4.0.0
-dependency-file libavcodec/huffman.d -MT libavcodec/huffman.o -I . -I src/ -D
_ISOC99_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -I
/Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-devel/src/compat/dispatch_semaphore
-D PIC -D ZLIB_CONST -D HAVE_AV_CONFIG_H -D _THREAD_SAFE -I
/opt/local/include/SDL2 -I /opt/local/include -I /opt/local/include -I
/opt/local/include -I /opt/local/include -I /opt/local/include -O3
-Wno-deprecated -Wno-unused -Wdeclaration-after-statement -Wall
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings
-Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
-Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch
-Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable
-Werror=implicit-function-declaration -Werror=missing-prototypes
-Werror=return-type -std=c99 -fconst-strings -fdebug-compilation-dir
/Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-devel/build -ferror-limit 19
-fmessage-length 0 -pthread -stack-protector 1 -mstack-alignment=16 -fblocks
-fobjc-runtime=macosx-10.12.0 -fencode-extended-block-signature
-fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp
-o libavcodec/huffman.o -x c src/libavcodec/huffman.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'src/libavcodec/huffman.c'.
4.    Running pass 'Loop Pass Manager' on function '@ff_huff_gen_len_table'
5.    Running pass 'Loop Strength Reduction' on basic block '%for.body51.prol'
clang: error: unable to execute command: Abort trap: 6
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (trunk 285644)
Target: x86_64-apple-darwin16.0.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-devel/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/t8/wgpbl9511f35snrz9_03y9w40000gn/T/huffman-67f66f.c
clang: note: diagnostic msg:
/var/folders/t8/wgpbl9511f35snrz9_03y9w40000gn/T/huffman-67f66f.sh
clang: note: diagnostic msg: 

********************
make: *** [libavcodec/huffman.o] Error 254</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>