Skip to content
  • Rui Ueyama's avatar
    Change the way how we print out line numbers. · e8785ba4
    Rui Ueyama authored
    LLD's error messages contain line numbers, function names or section names.
    Currently they are formatter as follows.
    
      foo.c (32): symbol 'foo' not found
      foo.c (function bar): symbol 'foo' not found
      foo.c (.text+0x1234): symbol 'foo' not found
    
    This patch changes them so that they are consistent with Clang's output.
    
      foo.c:32: symbol 'foo' not found
      foo.c:(function bar): symbol 'foo' not found
      foo.c:(.text+0x1234): symbol 'foo' not found
    
    Differential Revision: https://reviews.llvm.org/D26901
    
    llvm-svn: 287537
    e8785ba4
Loading