llvm-project/llvm/lib/Support
Alexey Lapshin 8bb4451a65 [Reland][DebugInfo][llvm-dwarfutil] Combine overlapped address ranges.
DWARF files may contain overlapping address ranges. f.e. it can happen if the two
copies of the function have identical instruction sequences and they end up sharing.
That looks incorrect from the point of view of DWARF spec. Current implementation
of DWARFLinker does not combine overlapped address ranges. It would be good if such
ranges would be handled in some useful way. Thus, this patch allows DWARFLinker
to combine overlapped ranges in a single one.

Depends on D86539

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D123469
2022-07-21 14:15:39 +03:00
..
BLAKE3 [Support/BLAKE3] Fix error in prior commit, apply `-mavx512vl` for `blake3_avx512_x86-64_unix.S` when including it 2022-06-22 10:51:19 -07:00
Unix ManagedStatic: remove many straightforward uses in llvm 2022-07-10 10:29:15 +02:00
Windows [Support] Fix Windows dump file hang with multi-threaded crashes 2022-07-08 10:31:35 +01:00
AArch64TargetParser.cpp [llvm][AArch64] Generate getExtensionFeatures from the list of extensions 2022-04-11 13:42:24 +00:00
ABIBreak.cpp
AMDGPUMetadata.cpp
APFixedPoint.cpp [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf 2022-05-19 11:23:13 +01:00
APFloat.cpp [APFloat] Fix truncation of certain subnormal numbers 2022-06-08 21:54:35 +03:00
APInt.cpp [ISel] Match all bits when merge undefs for DAG combine 2022-07-01 09:09:43 +08:00
APSInt.cpp
ARMAttributeParser.cpp [ARM] add Armv9 build attribute 2022-04-28 10:48:26 +01:00
ARMBuildAttrs.cpp [ARM] emit PACBTI-M build attributes 2021-12-01 11:05:29 +00:00
ARMTargetParser.cpp [ARM][AArch64] Introduce Armv9.3-A 2022-01-03 12:40:43 +00:00
ARMWinEH.cpp [llvm-readobj] Improve printing of Windows ARM packed unwind info 2022-05-18 21:33:08 +03:00
AddressRanges.cpp [Reland][DebugInfo][llvm-dwarfutil] Combine overlapped address ranges. 2022-07-21 14:15:39 +03:00
Allocator.cpp
Atomic.cpp
AutoConvert.cpp
BinaryStreamError.cpp [NFC] Additional header dependency cleanup LLVMSupport 2022-01-26 11:16:15 +01:00
BinaryStreamReader.cpp [Support] Convert BinaryStream class zoo to 64-bit offsets 2021-09-16 19:14:52 -04:00
BinaryStreamRef.cpp [Support] Convert BinaryStream class zoo to 64-bit offsets 2021-09-16 19:14:52 -04:00
BinaryStreamWriter.cpp [iwyu] Handle regressions in libLLVM header include 2022-05-26 08:12:34 +02:00
BlockFrequency.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
BranchProbability.cpp
BuryPointer.cpp
CMakeLists.txt [llvm] add zstd to `llvm::compression` namespace 2022-07-19 10:54:36 -07:00
COM.cpp
COPYRIGHT.regex
CRC.cpp
CSKYAttributeParser.cpp [Support] Add CSKY target parser and attributes parser 2022-02-28 11:35:07 +08:00
CSKYAttributes.cpp [Support] Add CSKY target parser and attributes parser 2022-02-28 11:35:07 +08:00
CSKYTargetParser.cpp [CSKY] Fix the conflict of default fpu features and -mfpu option 2022-05-23 10:44:55 +08:00
CachePruning.cpp
Caching.cpp [Support] [DebugInfo] Lazily create cache dir. 2022-01-20 19:27:15 +00:00
Chrono.cpp
CodeGenCoverage.cpp [llvm] Use = default (NFC) 2022-02-06 22:18:35 -08:00
CommandLine.cpp Use llvm::is_contained (NFC) 2022-07-20 09:09:19 -07:00
Compression.cpp [llvm] add zstd to `llvm::compression` namespace 2022-07-19 10:54:36 -07:00
ConvertUTF.cpp [Clang] Add a warning on invalid UTF-8 in comments. 2022-07-13 10:19:26 +02:00
ConvertUTFWrapper.cpp Re-land c346068928 with fixes 2022-03-23 08:13:17 -04:00
CrashRecoveryContext.cpp [Support] Factor out isCrash from throwIfCrash 2022-04-27 00:52:53 +00:00
DAGDeltaAlgorithm.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
DJB.cpp
DataExtractor.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
Debug.cpp Revert "[Support] Remove redundant declaration setCurrentDebugTypes (NFC)" 2022-07-16 17:19:27 -07:00
DebugCounter.cpp Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 01:07:51 -07:00
DebugOptions.h Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
DeltaAlgorithm.cpp [llvm] Use = default (NFC) 2022-02-06 22:18:35 -08:00
DivisionByConstantInfo.cpp [Support][CodeGen] Fix spelling Divison->Division. NFC 2022-07-17 23:16:29 -07:00
DynamicLibrary.cpp [Support] Use default member initialization (NFC) 2022-06-12 18:46:25 -07:00
ELFAttributeParser.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
ELFAttributes.cpp
Errno.cpp Cleanup include: TableGen 2022-03-11 11:41:32 +01:00
Error.cpp ManagedStatic: remove many straightforward uses in llvm 2022-07-10 10:29:15 +02:00
ErrorHandling.cpp fix tests after my commit 80b3dcc045 2022-05-30 19:44:06 +01:00
ExtensibleRTTI.cpp
FileCollector.cpp
FileOutputBuffer.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
FileUtilities.cpp [llvm-objcopy][NFC] refactor restoreStatOnFile out of llvm-objcopy. 2022-04-22 20:06:01 +03:00
FoldingSet.cpp [NFC] Move FoldingSetNodeIDRef::ComputeHash and FoldingSetNodeID::ComputeHash definitions to header 2022-02-04 18:03:42 +01:00
FormatVariadic.cpp [llvm] Don't use Optional::hasValue (NFC) 2022-06-20 10:38:12 -07:00
FormattedStream.cpp
GlobPattern.cpp
GraphWriter.cpp Add apple-specific missing header in Support/GraphWriter.cpp 2022-01-21 14:59:30 +01:00
Hashing.cpp
Host.cpp [RISCV] Support getHostCpuName for sifive-u74 2022-05-17 14:06:59 +08:00
InitLLVM.cpp Add ms-specific missing header in Support/InitLLVM.cpp 2022-01-21 14:28:47 +01:00
InstructionCost.cpp
IntEqClasses.cpp
IntervalMap.cpp
ItaniumManglingCanonicalizer.cpp [demangler] Remove StdQualifiedName 2022-02-07 07:49:30 -08:00
JSON.cpp [llvm][json] Fix UINT64 json parsing 2022-05-17 09:11:45 -07:00
KnownBits.cpp [llvm] Don't use Optional::getValue (NFC) 2022-06-20 22:45:45 -07:00
LEB128.cpp
LineIterator.cpp [Support] Use default member initialization (NFC) 2022-06-18 15:46:09 -07:00
Locale.cpp
LockFileManager.cpp [libc++] Remove unused macro in __config 2021-09-23 13:09:32 -04:00
LowLevelType.cpp [MachineValueType] Don't allow MVT::getVectorNumElements() to be called for scalable vectors. 2022-01-13 09:16:25 -08:00
MD5.cpp [Support/Hash functions] Change the `final()` and `result()` of the hashing functions to return an array of bytes 2022-04-05 21:38:06 -07:00
MSP430AttributeParser.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
MSP430Attributes.cpp [llvm-readobj] Support dumping of MSP430 ELF attributes 2021-09-28 00:56:11 +03:00
ManagedStatic.cpp
MathExtras.cpp Cleanup include: TableGen 2022-03-11 11:41:32 +01:00
MemAlloc.cpp [Support] #include <new> for std::align_val_t 2022-01-25 19:40:00 +01:00
Memory.cpp Cleanup include: TableGen 2022-03-11 11:41:32 +01:00
MemoryBuffer.cpp Fix issing header on z/OS 2022-03-14 17:29:08 +01:00
MemoryBufferRef.cpp
NativeFormatting.cpp [Build][NFC] Fixes for building on Windows with libc++ 2022-07-01 15:37:57 +01:00
OptimizedStructLayout.cpp
Optional.cpp
Parallel.cpp Rename parallelForEachN to just parallelFor 2022-06-19 17:49:00 -04:00
Path.cpp LLVM Driver Multicall tool 2022-06-06 04:27:32 +00:00
PluginLoader.cpp
PrettyStackTrace.cpp Add apple-specific missing include 2022-01-21 14:18:29 +01:00
Process.cpp [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
Program.cpp Cleanup include: TableGen 2022-03-11 11:41:32 +01:00
RISCVAttributeParser.cpp Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17" 2022-01-26 16:55:53 +01:00
RISCVAttributes.cpp
RISCVISAInfo.cpp [RISCV][Clang] Add support for Zmmul extension 2022-07-18 20:26:08 -04:00
RWMutex.cpp
RandomNumberGenerator.cpp
Regex.cpp [llvm] Use range-based for loops (NFC) 2021-12-02 09:27:47 -08:00
SHA1.cpp [Support/Hash functions] Change the `final()` and `result()` of the hashing functions to return an array of bytes 2022-04-05 21:38:06 -07:00
SHA256.cpp [Support/Hash functions] Change the `final()` and `result()` of the hashing functions to return an array of bytes 2022-04-05 21:38:06 -07:00
ScaledNumber.cpp
ScopedPrinter.cpp Replace to_hexString by touhexstr [NFC] 2022-06-16 17:29:50 +02:00
Signals.cpp [libSupport] make CallBacksToRun static local 2022-03-19 20:31:04 +00:00
Signposts.cpp Change the LLVM signpost category 2022-04-05 12:18:31 -07:00
SmallPtrSet.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
SmallVector.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
SourceMgr.cpp [PDLL] Add support for tablegen includes and importing ODS information 2022-03-03 16:14:03 -08:00
SpecialCaseList.cpp [llvm] Use = default (NFC) 2022-02-06 22:18:35 -08:00
Statistic.cpp [Support] Change TrackingStatistic and NoopStatistic to use uint64_t instead of unsigned. 2022-06-22 10:11:40 -07:00
StringExtras.cpp [llvm] Use range-based for loops (NFC) 2021-12-02 09:27:47 -08:00
StringMap.cpp [NFC][llvm][StringMap]Extract createTable and getHashTable functions and add the inline attribute to the getMinBucketToReserveForEntries function. 2022-03-23 10:09:59 +08:00
StringRef.cpp [ADT] Add edit_distance_insensitive to StringRef 2022-06-05 12:03:09 +01:00
StringSaver.cpp
SuffixTree.cpp
SymbolRemappingReader.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
SystemUtils.cpp
TarWriter.cpp
TargetParser.cpp [AMDGPU] Add gfx11 subtarget ELF definition 2022-04-29 12:27:17 -04:00
ThreadLocal.cpp
ThreadPool.cpp [ThreadPool] delete debug global variable if not needed 2022-05-04 08:12:45 +02:00
Threading.cpp
TimeProfiler.cpp Move STLFunctionalExtras out of STLExtras 2022-01-24 14:13:21 +01:00
Timer.cpp [llvm] Use llvm::reverse (NFC) 2021-11-06 19:31:18 -07:00
ToolOutputFile.cpp [llvm] Cleanup header dependencies in ADT and Support 2022-01-21 13:54:49 +01:00
TrigramIndex.cpp TrigramIndex.h - move unnecessary StringRef include down to TrigramIndex.cpp 2022-02-02 16:29:47 +00:00
Triple.cpp [SPIR-V] Allow setting SPIR-V version via target triple. 2022-05-23 14:24:00 +01:00
Twine.cpp
TypeSize.cpp Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 01:07:51 -07:00
Unicode.cpp [Clang][NFC] fix typo 2022-07-06 16:05:23 +02:00
UnicodeCaseFold.cpp
UnicodeNameToCodepoint.cpp [Support] Work around an issue when building with old versions of libstdc++ 2022-06-26 12:55:51 +02:00
UnicodeNameToCodepointGenerated.cpp [Clang][C++23] P2071 Named universal character escapes 2022-06-25 19:03:33 +02:00
Valgrind.cpp Work around a Clang modules build issue. 2022-01-31 12:03:00 -08:00
VersionTuple.cpp
VirtualFileSystem.cpp [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
Watchdog.cpp
WithColor.cpp [Support] Allow the ability to change WithColor's auto detection function 2022-02-28 20:30:06 -08:00
X86TargetParser.cpp [X86] Add RDPRU instruction 2022-07-06 07:17:47 -07:00
YAMLParser.cpp Apply clang-tidy fixes for readability-redundant-member-init in YAMLParser.cpp (NFC) 2022-04-03 08:04:11 -07:00
YAMLTraits.cpp [llvm][support] Replace `std::vector<bool>` use in YAMLTraits 2022-01-26 11:20:18 +01:00
Z3Solver.cpp [analyzer] Fix include typo introduced by e61a1a9 2022-03-11 16:09:25 +01:00
circular_raw_ostream.cpp
raw_os_ostream.cpp
raw_ostream.cpp [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
regcomp.c [Support] unsafe pointer arithmetic in llvm_regcomp() 2022-02-03 19:59:27 -05:00
regengine.inc [Support] Optimize (.*) regex matches 2022-04-19 09:55:21 +02:00
regerror.c
regex2.h
regex_impl.h
regexec.c
regfree.c
regstrlcpy.c
regutils.h
xxhash.cpp Cleanup include: TableGen 2022-03-11 11:41:32 +01:00