llvm-6502/include/llvm
Chandler Carruth b6fdca612d [LCG] Fix a bad bug in the new fancy iterator scheme I added to support
removal. We can't just blindly increment (or decrement) the adapted
iterator when the value is null because doing so can walk past the end
(or beginning) and keep inspecting the value. The fix I've implemented
is to restrict this further to a forward iterator and add an end
iterator to the members (replacing a member that had become dead when
I switched to the adaptor base!) and using that to stop the iteration.

I'm not entirely pleased with this solution. I feel like forward
iteration is too restrictive. I wasn't even happy about bidirectional
iteration. It also makes the iterator objects larger and the iteration
loops more complex. However, I also don't really like the other
alternative that seems obvious: a sentinel node. I'm still hoping to
come up with a more elegant solution here, but this at least fixes the
MSan and Valgrind errors on this code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207743 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-01 10:41:51 +00:00
..
ADT Remove unused field hash_state::seed. 2014-04-30 21:12:17 +00:00
Analysis [LCG] Fix a bad bug in the new fancy iterator scheme I added to support 2014-05-01 10:41:51 +00:00
AsmParser
Bitcode Update comment in LLVMBitCodes.h to reflect the actual bitcode record 2014-04-18 18:19:18 +00:00
CodeGen Speculatively roll back r207724-r207726, which are code cleanup changes and 2014-05-01 00:46:58 +00:00
Config
DebugInfo [DWARF parser] Turn DILineInfo into a struct. 2014-04-18 21:36:39 +00:00
ExecutionEngine Fix MSVC build broken by r207580 2014-04-29 22:04:55 +00:00
IR Updated the link to the correct URL. 2014-04-29 13:21:05 +00:00
IRReader
LineEditor [C++11] Replace OwningPtr with std::unique_ptr in places where it doesn't break the API. 2014-04-21 09:34:48 +00:00
Linker
LTO Add an -mattr option to the gold plugin to support subtarget features in LTO 2014-04-25 21:46:51 +00:00
MC Record the DWARF version in MCContext 2014-05-01 08:46:02 +00:00
Object ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
Option Add missing include, found by modules build. 2014-04-24 23:29:25 +00:00
ProfileData OnDiskHashTable: Audit types and use offset_type consistently 2014-04-19 00:33:15 +00:00
Support raw_ostream::operator<<(StringRef): Avoid potential overflow in pointer arithmetic. 2014-04-30 09:33:50 +00:00
TableGen
Target [ARM64] Prevent bit extraction to be adjusted by following shift 2014-04-30 21:07:24 +00:00
Transforms [C++] Use 'nullptr'. Transforms edition. 2014-04-25 05:29:35 +00:00
CMakeLists.txt
InitializePasses.h Atomics: promote ARM's IR-based atomics pass to CodeGen. 2014-04-17 18:22:47 +00:00
LinkAllIR.h
LinkAllPasses.h [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
Pass.h [PM] Add pass run listeners to the pass manager. 2014-04-28 18:19:25 +00:00
PassAnalysisSupport.h
PassManager.h
PassRegistry.h
PassSupport.h [PM] Add pass run listeners to the pass manager. 2014-04-28 18:19:25 +00:00