Go to file
Alp Toker ef6b007dc5 Only mark dump() function definitions 'used' in debug builds
This has the dual effect of (1) enabling more dead-stripping in release builds
and (2) ensuring that debug helper functions aren't stripped away in debug
builds, as they're intended to be called from the debugger.

Note that the attribute is applied to definitions rather than declarations in
headers going forward because it's now conditional on NDEBUG:

  /// \brief Mark debug helper function definitions like dump() that should not be
  /// stripped from debug builds.

Requires corresponding macro added in LLVM r198456.

llvm-svn: 198489
2014-01-04 13:47:14 +00:00
clang Only mark dump() function definitions 'used' in debug builds 2014-01-04 13:47:14 +00:00
clang-tools-extra A follow-up to r198426: move AnalysisConsumer.h to include/clang/... 2014-01-03 17:24:20 +00:00
compiler-rt Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
debuginfo-tests don't use CHECK-NEXT because it may be on the same line. 2013-09-18 23:01:54 +00:00
libclc Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
libcxx 80 cols fixes. 2014-01-04 09:27:39 +00:00
libcxxabi Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
lld [MachO] Add some missing NListTypes. 2014-01-04 01:22:05 +00:00
lldb Use Address::SetLoadAddress() instead of SectionLoadList::ResolveLoadAddress(). 2014-01-04 01:37:52 +00:00
llvm [Sparc] Add the initial implementation of an asm parser for sparc/sparcv9. 2014-01-04 11:30:13 +00:00
openmp For your Christmas hacking pleasure. 2013-12-23 17:28:57 +00:00
polly Another formatting fix 2014-01-03 00:56:20 +00:00