]> granicus.if.org Git - llvm/commit
If the DIUnit has flags passed on it then have DW_AT_producer be a combination of...
authorEric Christopher <echristo@gmail.com>
Wed, 29 Mar 2017 23:34:27 +0000 (23:34 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 29 Mar 2017 23:34:27 +0000 (23:34 +0000)
commitfef24043fa2c4020eec6ef45d0da7b8b3f967b57
tree70bf7494984532be52a4708925d7255efad5816f
parent19db4433102fbc4f8a8bcbe68fae2ee2a7c3f5ed
If the DIUnit has flags passed on it then have DW_AT_producer be a combination of DICompileUnit::Producer and Flags.
The darwin behavior is unchanged and will continue to use DW_AT_APPLE_flags.

Patch by Zhizhou Yang

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/debug-info-producer-with-flags.ll [new file with mode: 0644]