1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm
George Burgess IV d33befca30 [Support] Add an enable bit to our DebugCounters
r337748 made us start incrementing DebugCounters all of the time. This
makes tsan unhappy in multithreaded environments.

Since it doesn't make much sense to use DebugCounters with multiple
threads, this patch makes us only count anything if the user passed a
-debug-counter option or if some other piece of code explicitly asks
for it (e.g. the pass in D50031).

The amount of global state here makes writing a unittest for this
behavior somewhat awkward. So, no test is provided.

Differential Revision: https://reviews.llvm.org/D50150

llvm-svn: 338762
2018-08-02 19:50:27 +00:00
..
ADT [SCEV] Properly solve quadratic equations 2018-08-02 19:13:35 +00:00
Analysis Revert "Enrich inline messages", tests fail 2018-08-01 08:02:40 +00:00
AsmParser Fix -Wdocumentation warnings. NFCI. 2018-07-12 09:10:55 +00:00
BinaryFormat [DWARF] Support for .debug_addr (consumer) 2018-07-31 22:19:19 +00:00
Bitcode Fix for llvm-dis/llvm-bcanalyzer overflows 2018-06-04 19:20:02 +00:00
CodeGen [GlobalISel] Rewrite CallLowering::lowerReturn to accept multiple VRegs per Value 2018-08-02 08:33:31 +00:00
Config Add PerfJITEventListener for perf profiling support. 2018-07-24 00:54:06 +00:00
DebugInfo [DebugInfo/DWARF] Remove redundant iterator type. NFC 2018-08-02 19:29:38 +00:00
Demangle Add include guard 2018-08-02 09:45:59 +00:00
ExecutionEngine [ORC] Add a 'Callable' flag to JITSymbolFlags. 2018-08-01 22:42:23 +00:00
FuzzMutate
IR [DEBUGINFO] Disable emission of the dwarf sections, but allow directives. 2018-08-01 19:38:20 +00:00
IRReader
LineEditor
Linker
LTO IRGen: Write .dwo files when -split-dwarf-file is used together with -fthinlto-index. 2018-05-31 18:25:59 +00:00
MC [DebugInfo] Generate fixups as emitting DWARF .debug_line. 2018-08-01 02:18:06 +00:00
Object Remove trailing space 2018-07-30 19:41:25 +00:00
ObjectYAML Resubmit [pdb] Change /DEBUG:GHASH to emit 8 byte hashes." 2018-05-17 22:55:15 +00:00
Option [Option] Remove an unnecessary conversion function. 2018-05-05 06:05:31 +00:00
Passes [ThinLTO] Enable ThinLTO WholeProgramDevirt and LowerTypeTests in new PM 2018-07-19 14:51:32 +00:00
ProfileData Remove trailing space 2018-07-30 19:41:25 +00:00
Support [Support] Add an enable bit to our DebugCounters 2018-08-02 19:50:27 +00:00
TableGen [TableGen] Add a general-purpose JSON backend. 2018-07-11 08:40:19 +00:00
Target [AArch64] DWARF: do not generate AT_location for thread local 2018-08-01 23:46:49 +00:00
Testing/Support
ToolDrivers
Transforms [LICM] Factor out fault legality from canHoistOrSinkInst [NFC] 2018-08-02 04:08:04 +00:00
WindowsManifest
WindowsResource
XRay [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode 2018-07-13 05:38:22 +00:00
CMakeLists.txt
InitializePasses.h RegUsageInfo: Cleanup; NFC 2018-07-26 00:27:51 +00:00
LinkAllIR.h Remove trailing space 2018-07-30 19:41:25 +00:00
LinkAllPasses.h [UnrollAndJam] New Unroll and Jam pass 2018-07-01 12:47:30 +00:00
module.modulemap Put "built-in" function definitions in global Used list, for LTO. (fix bug 34169) 2018-07-24 19:34:37 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h Remove trailing space 2018-07-30 19:41:25 +00:00
PassInfo.h
PassRegistry.h Remove trailing space 2018-07-30 19:41:25 +00:00
PassSupport.h