diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-01-14 21:18:12 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-01-14 21:18:12 +0000 |
commit | fa38041dac44dff6b86b39981b2b7f9abcde574c (patch) | |
tree | 1c18297d5843bbb9344a457f90669bc2d900d7b7 /clang/lib/AST/DeclTemplate.cpp | |
parent | 9ccce77893136938b4cc1cad6c24d114fade9ee1 (diff) | |
download | bcm5719-llvm-fa38041dac44dff6b86b39981b2b7f9abcde574c.tar.gz bcm5719-llvm-fa38041dac44dff6b86b39981b2b7f9abcde574c.zip |
Add makefile debugging rule for printing out the value of a variable.
From http://blog.melski.net/tag/debugging-makefiles/.
Example:
[13:14:59] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CC
CC=gcc
origin = file
flavor = recursive
value = gcc
[13:15:09] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-LD
LD= g++
origin = file
flavor = recursive
value = $(call cxx_linker,$(CC))
[13:15:21] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CXX
CXX= g++
origin = file
flavor = recursive
value = $(call cxx_compiler,$(CC))
[13:15:29] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $
llvm-svn: 123469
Diffstat (limited to 'clang/lib/AST/DeclTemplate.cpp')
0 files changed, 0 insertions, 0 deletions