Turn on pubnames by default on linux.

Until gdb supports the new accelerator tables we should add the
pubnames section so that gdb_index can be generated from gold
at link time. On darwin we already emit the accelerator tables
and so don't need to worry about pubnames.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188708 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2013-08-19 21:07:38 +00:00
parent f1070a0b86
commit f04e4efcaa
4 changed files with 153 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
; REQUIRES: object-emission
; RUN: llc -generate-dwarf-pubnames -filetype=obj -o %t.o < %s
; RUN: llc -generate-dwarf-pubnames=Enable -filetype=obj -o %t.o < %s
; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck %s
; ModuleID = 'dwarf-public-names.cpp'
;