summaryrefslogtreecommitdiffstats
path: root/clang/test/Profile/cxx-throws.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix clang tests broken by r353547 that depend on InstrProfReid Kleckner2019-02-101-3/+3
| | | | llvm-svn: 353653
* [profile] Use cc1 in these tests instead of the driver.Sean Silva2016-04-231-4/+4
| | | | | | | I ran into this when seeing what tests would break if we make a driver-level decision about whether FEPGO or IRPGO is the default. llvm-svn: 267262
* [PGO] make profile prefix even shorter and more readableXinliang David Li2015-12-151-3/+3
| | | | llvm-svn: 255587
* [PGO] Shorten profile symbol prefixesXinliang David Li2015-12-141-3/+3
| | | | | | | | | | (test case update) Profile symbols have long prefixes which waste space and creating pressure for linker. This patch shortens the prefixes to minimal length without losing verbosity. Differential Revision: http://reviews.llvm.org/D15503 llvm-svn: 255576
* InstrProf: Match a bit less strictly - some targets may add signextJustin Bogner2015-04-281-2/+2
| | | | | | | | Notably, this bot didn't like it: http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/5117 llvm-svn: 235968
* InstrProf: Mark code regions after throw expressions as unreachableJustin Bogner2015-04-281-0/+20
| | | | | | | We weren't setting regions as being unreachable after C++ throw expressions, leading to incorrect count propagations. llvm-svn: 235967
* InstrProf: Make profile variables private to reduce binary size overheadJustin Bogner2015-03-201-2/+2
| | | | | | | | | | | | When we instrument a program for profiling, we copy the linkage of an instrumented function so that our datastructures merge in the same way as the function. This avoids redundant copies for things like linkonce, but ends up emitting names we never need to reference for normal and internal symbols. Promoting internal and external linkage to private for these variables reduces the size overhead of profiling drastically. llvm-svn: 232799
* Add -frtti/-fexceptions to some more tests that assume they're onFilipe Cabecinhas2015-02-261-4/+4
| | | | llvm-svn: 230656
* IR: Make metadata typeless in assembly, clang sideDuncan P. N. Exon Smith2014-12-151-6/+6
| | | | | | Match LLVM changes from r224257. llvm-svn: 224259
* InstrProf: Set profile data to visibility hiddenDuncan P. N. Exon Smith2014-05-161-2/+2
| | | | | | | | | | | | | Shared objects are fairly broken for InstrProf right now -- a follow-up commit in compiler-rt will fix the rest of this. The main problem here is that at link time, profile data symbols in the shared object might get used instead of symbols from the main executable, creating invalid profile data sections. <rdar://problem/16918688> llvm-svn: 208939
* test: Use llvm-profdata merge in Profile testsJustin Bogner2014-04-171-2/+3
| | | | | | | | | | | In preparation for using a binary format for instrumentation based profiling, explicitly treat the test inputs as text and transform them before running. This will allow us to leave the checked in files in human readable format once the instrumentation format is binary. No functional change. llvm-svn: 206509
* PGO: Change runtime prefix from pgo to profileDuncan P. N. Exon Smith2014-03-201-2/+2
| | | | | | | | | | | These functions are in the profile runtime. PGO comes later. Unfortunately, there's only room for 16 characters in a Darwin section, so use __llvm_prf_ instead of __llvm_profile_ for section names. <rdar://problem/15943240> llvm-svn: 204390
* PGO: Statically generate data structuresDuncan P. N. Exon Smith2014-03-171-2/+2
| | | | | | | | | | | | | | | | | | | In instrumentation-based profiling, we need a set of data structures to represent the counters. Previously, these were built up during static initialization. Now, they're shoved into a specially-named section so that they show up as an array. As a consequence of the reorganizing symbols, instrumentation data structures for linkonce functions are now correctly coalesced. This is the first step in a larger project to minimize runtime overhead and dependencies in instrumentation-based profilng. The larger picture includes removing all initialization overhead and making the dependency on libc optional. <rdar://problem/15943240> llvm-svn: 204080
* test: Give instrumentation based profiling tests their own directoryJustin Bogner2014-03-111-0/+72
These tests are logically related, but they're spread about several different CodeGen directories. Consolidate them in one place to make them easier to manage. llvm-svn: 203541
OpenPOWER on IntegriCloud