]> granicus.if.org Git - clang/commit
Use NoDebug compile units to mark debug metadata used only for sample-based
authorAdrian Prantl <aprantl@apple.com>
Fri, 8 Apr 2016 22:43:06 +0000 (22:43 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 8 Apr 2016 22:43:06 +0000 (22:43 +0000)
commitcc8e531a17f815659b752594aebab58e08173411
tree92a2a7eb352b6843812b0e00922d82ddcb72b71e
parent3cf634973eb2af54883ea0eb749a5ae3ffc02ff7
Use NoDebug compile units to mark debug metadata used only for sample-based
profiling and optimization remarks and indicate that no debug info shall
be emitted for these compile units.

http://reviews.llvm.org/D18808
<rdar://problem/25427165>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265862 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/Frontend/optimization-remark.c
test/Frontend/profile-sample-use-loc-tracking.c