[PATCH] Special handling for STT_FILE symbols

Joerg Sonnenberger joerg at NetBSD.org
Mon Oct 28 17:04:30 PDT 2013


Hi rafael.espindola,

STT_FILE symbols may overlap with other symbols. This happens for example if a function "foo" in the file "foo.c" has a static variable "c". The patch completely removes file symbols from the normal symbol table flow to deal with this.

http://llvm-reviews.chandlerc.com/D2043

Files:
  include/llvm/MC/MCAssembler.h
  lib/MC/ELFObjectWriter.cpp
  lib/MC/MCELF.cpp
  lib/MC/MCELFStreamer.cpp
  test/MC/ELF/file-double.s
  test/MC/ELF/file.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2043.1.patch
Type: text/x-patch
Size: 9001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131028/8e274cdf/attachment.bin>


More information about the llvm-commits mailing list