<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 - [lld/mac/arm64] Two of Chromium's base_unittests fail when linked with lld"
   href="https://bugs.llvm.org/show_bug.cgi?id=50529">50529</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[lld/mac/arm64] Two of Chromium's base_unittests fail when linked with lld
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>MachO
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nicolasweber@gmx.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>gkm@fb.com, jezreel@gmail.com, llvm-bugs@lists.llvm.org, smeenai@fb.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>repro:
<a href="https://drive.google.com/file/d/1YvyZxh_ItvL1hdVeaab-kU7zm-d1AokX/view?usp=sharing">https://drive.google.com/file/d/1YvyZxh_ItvL1hdVeaab-kU7zm-d1AokX/view?usp=sharing</a>
(17M bzipped, 79M extracted -- not huge)

With ld64:

% ld @response.txt
% ./base_unittests '--gtest_filter=MessagePumpMacTest.*'
IMPORTANT DEBUGGING NOTE: batches of tests are run inside their
own process. For debugging a test inside a debugger, use the
--gtest_filter=<your_test_name> flag along with
--single-process-tests.
Using sharding settings from environment. This is shard 0/1
Using 1 parallel jobs.
[12105:259:ERROR:icu_util.cc(179)] icudtl.dat not found in bundle
[12105:259:ERROR:icu_util.cc(243)] Invalid file descriptor to ICU data
received.
Note: Google Test filter =
MessagePumpMacTest.ScopedPumpMessagesInPrivateModes:MessagePumpMacTest.ScopedPumpMessagesAttemptWithModalDialog:MessagePumpMacTest.QuitWithModalWindow
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from MessagePumpMacTest
[ RUN      ] MessagePumpMacTest.ScopedPumpMessagesInPrivateModes
[       OK ] MessagePumpMacTest.ScopedPumpMessagesInPrivateModes (42 ms)
[ RUN      ] MessagePumpMacTest.ScopedPumpMessagesAttemptWithModalDialog
[       OK ] MessagePumpMacTest.ScopedPumpMessagesAttemptWithModalDialog (41
ms)
[ RUN      ] MessagePumpMacTest.QuitWithModalWindow
[       OK ] MessagePumpMacTest.QuitWithModalWindow (30 ms)
[----------] 3 tests from MessagePumpMacTest (114 ms total)

[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (114 ms total)
[  PASSED  ] 3 tests.
[1/3] MessagePumpMacTest.ScopedPumpMessagesInPrivateModes (42 ms)
[2/3] MessagePumpMacTest.ScopedPumpMessagesAttemptWithModalDialog (41 ms)
[3/3] MessagePumpMacTest.QuitWithModalWindow (30 ms)
SUCCESS: all tests passed.


But with lld:

% ./base_unittests '--gtest_filter=MessagePumpMacTest.*'
IMPORTANT DEBUGGING NOTE: batches of tests are run inside their
own process. For debugging a test inside a debugger, use the
--gtest_filter=<your_test_name> flag along with
--single-process-tests.
Using sharding settings from environment. This is shard 0/1
Using 1 parallel jobs.
[12111:259:ERROR:icu_util.cc(179)] icudtl.dat not found in bundle
[12111:259:ERROR:icu_util.cc(243)] Invalid file descriptor to ICU data
received.
Note: Google Test filter =
MessagePumpMacTest.ScopedPumpMessagesInPrivateModes:MessagePumpMacTest.ScopedPumpMessagesAttemptWithModalDialog:MessagePumpMacTest.QuitWithModalWindow
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from MessagePumpMacTest
[ RUN      ] MessagePumpMacTest.ScopedPumpMessagesInPrivateModes
[       OK ] MessagePumpMacTest.ScopedPumpMessagesInPrivateModes (36 ms)
[ RUN      ] MessagePumpMacTest.ScopedPumpMessagesAttemptWithModalDialog
[12110:259:ERROR:test_launcher.cc(1093)] no test result for
MessagePumpMacTest.QuitWithModalWindow
[1/3] MessagePumpMacTest.ScopedPumpMessagesInPrivateModes (36 ms)
[2/3] MessagePumpMacTest.ScopedPumpMessagesAttemptWithModalDialog (CRASHED)
[3/3] MessagePumpMacTest.QuitWithModalWindow (SKIPPED)
1 test crashed:
    MessagePumpMacTest.ScopedPumpMessagesAttemptWithModalDialog
(../../base/message_loop/message_pump_mac_unittest.mm:99)
1 test not run:
    MessagePumpMacTest.QuitWithModalWindow
(../../base/message_loop/message_pump_mac_unittest.mm:121)
Tests took 0 seconds.</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>