llvm/lib
Dehao Chen 7ef85b4579 Recommit r251680 (also need to update clang test)
Update the discriminator assignment algorithm

* If a scope has already been assigned a discriminator, do not reassign a nested discriminator for it.
* If the file and line both match, even if the column does not match, we should assign a new discriminator for the stmt.

original code:
; #1 int foo(int i) {
; #2 if (i == 3 || i == 5) return 100; else return 99;
; #3 }

; i == 3: discriminator 0
; i == 5: discriminator 2
; return 100: discriminator 1
; return 99: discriminator 3



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251689 91177308-0d34-0410-b5e6-96231b3b80d8
2015-10-30 05:07:15 +00:00
..
Analysis Fix an unused variable warning which broke the clang-cmake-mips builder 2015-10-29 04:21:49 +00:00
AsmParser AsmParser: Remove implicit ilist iterator conversions, NFC 2015-10-20 01:12:49 +00:00
Bitcode Revert "Don't assert if materializing before seeing any function bodies" 2015-10-30 00:00:58 +00:00
CodeGen [MachineVerifier] Analyze MachineMemOperands for mem-to-mem moves. 2015-10-29 08:28:35 +00:00
DebugInfo Let the users of LLVMSymbolizer decide whether they want to symbolize inlined frames. 2015-10-30 00:40:20 +00:00
ExecutionEngine [Orc] Expose the compile callback API through the C bindings. 2015-10-30 03:20:21 +00:00
Fuzzer [libFuzzer] add -merge flag to merge corpora 2015-10-24 01:16:40 +00:00
IR [SCEV] Opportunistically interpret unsigned constraints as signed 2015-10-22 19:57:34 +00:00
IRReader
LibDriver [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
LineEditor
Linker Linker: Remove implicit ilist iterator conversion, NFC 2015-10-19 22:23:36 +00:00
LTO
MC ARM: add support for WatchOS's compact unwind information. 2015-10-28 22:56:36 +00:00
Object [AVR] Add ELF constants to headers 2015-10-23 06:05:55 +00:00
Option [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
Passes
ProfileData [PGO] RawProf Reader code cleanup 2015-10-28 19:34:04 +00:00
Support ARM: add watchOS default version support function. 2015-10-28 22:57:14 +00:00
TableGen [TblGen] ArrayRefize TGParser. No functional change intended. 2015-10-24 12:46:45 +00:00
Target [X86] Use is128BitVector/is256BitVector/is512BitVector in place of getSizeInBits == in some places. NFC 2015-10-30 04:31:18 +00:00
Transforms Recommit r251680 (also need to update clang test) 2015-10-30 05:07:15 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile