[PATCH] D50007: [LLD] Fix 'ignoring unknown symbol record' message

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 13:53:42 PDT 2018


aganea added a comment.

In https://reviews.llvm.org/D50007#1180965, @zturner wrote:

> Don't think I've ever seen `S_UNAMESPACE` before.  Do you know what it is?


It seems to be related to "using namespace" directives and precompiled headers (/Yc).

Compiling the following as precompiled headers (with cl.exe /Yc):

  #include <stdio.h>
  #include <Windows.h>

...generates:

  C:\Users\aganea\Desktop\LLD verbose>cvdump temp\lib.obj | more
  Microsoft (R) Debugging Information Dumper  Version 14.00.23611
  Copyright (C) Microsoft Corporation.  All rights reserved.
  
  
  ***** SECTION #2
  
  *** SYMBOLS
  
  (00000C) S_OBJNAME: Signature: 1FD3C851, C:\Users\aganea\Desktop\LLD verbose\temp\lib.obj
  
  (000045) S_COMPILE3:
           Language: C++
           Target processor: x64
           Compiled for edit and continue: no
           Compiled without debugging info: no
           Compiled with LTCG: no
           Compiled with /bzalign: no
           Managed code present: no
           Compiled with /GS: yes
           Compiled with /hotpatch: yes
           Converted by CVTCIL: no
           MSIL module: no
           Compiled with /sdl: no
           Compiled with pgo: no
           .EXP module: no
           Pad bits = 0x0000
           Frontend Version: Major = 19, Minor = 14, Build = 26431, QFE = 0
           Backend Version: Major = 19, Minor = 14, Build = 26431, QFE = 0
           Version string: Microsoft (R) Optimizing Compiler
  
  (000081) S_UNAMESPACE: __vc_attributes
  (000095) S_UNAMESPACE: helper_attributes
  (0000AB) S_UNAMESPACE: atl
  (0000B3) S_UNAMESPACE: std


Repository:
  rL LLVM

https://reviews.llvm.org/D50007





More information about the llvm-commits mailing list