mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
75c9b9384f
AT_producer. Which includes clang's version information so we can tell which version of the compiler was used. This is the first of two steps to allow us to do that. This is the llvm-mc change to provide a method to set the AT_producer string. The second step, coming soon to a clang near you, will have the clang driver pass the value of getClangFullVersion() via an flag when invoking the integrated assembler on assembly source files. rdar://12955296 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172630 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
230 B
ArmAsm
9 lines
230 B
ArmAsm
// RUN: env DEBUG_PRODUCER="my producer" llvm-mc -g -triple i386-apple-darwin10 %s -filetype=obj -o %t
|
|
// RUN: llvm-dwarfdump %t | FileCheck %s
|
|
|
|
.globl _bar
|
|
_bar:
|
|
ret
|
|
|
|
// CHECK: DW_AT_producer [DW_FORM_string] ("my producer")
|