[PATCH] D51652: lld-link: Write an empty "repro" debug directory entry if /Brepro is passed

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 15:09:54 PDT 2018


thakis added a comment.

MSVC on my laptop has the same behavior as on my desktop:

  C:\src\chrome\src>type test.c
  int main() {}
  
  C:\src\chrome\src>cl /Brepro test.c /Zi
  Microsoft (R) C/C++ Optimizing Compiler Version 19.14.26428.1 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.
  
  test.c
  Microsoft (R) Incremental Linker Version 14.14.26428.1
  Copyright (C) Microsoft Corporation.  All rights reserved.
  
  /out:test.exe
  /Brepro
  /debug
  test.obj
  
  C:\src\chrome\src>dumpbin /headers test.exe | findstr repro
      8441EC31 repro          0 00000000        0


https://reviews.llvm.org/D51652





More information about the llvm-commits mailing list