search for: leb128

Displaying 20 results from an estimated 25 matches for "leb128".

Did you mean: uleb128
2017 Jul 12
2
[LLD] Adding WebAssembly support to lld
...Personally I would prefer to land the initial version without touching the ELF/COFF backends and refactor in a second pass. > - I can imagine that you would eventually want to support two modes of wasm > object files. In one form, object files are represented in the compact > format using LEB128 encoding, and the linker has to decode and re-encode > LEB128 instruction streams. In the other form, they are still in LEB128 but > uses full 5 bytes for 4-byte numbers, so that you can just concatenate them > without decoding/re-encoding. Which mode do you want to make default? The >...
2017 Jul 06
3
[LLD] Adding WebAssembly support to lld
Dan Gohman <sunfish at mozilla.com> writes: >> Sorry, I meant why that didn't work with ELF (or what else didn't). >> > > The standard executable WebAssembly format does not use ELF, for numerous > reasons, most visibly that ELF is designed for sparse decoding -- headers > contain offsets to arbitrary points in the file, while WebAssembly's format > is
2020 Aug 05
5
[RFC] Introduce Dump Accumulator
...DAR->Message += "Processing "; DAR->Message += F.getName(); DAR->Message += "\n"; } AsmPrinter ---------- We dump the messages from DumpAccumulator into a section called ".llvm_dump" in a compressed manner. Specifically, the section contains: - LEB128 encoding of the original size in bytes - LEB128 encoding of the compressed size in bytes - the message compressed by zlib::compressed in that order. llvm-readobj ------------ We read the .llvm_dump section. We dump each chunk of compressed data one after another. Existing Implementation ======...
2017 Aug 31
7
[RFC] Function stack size section.
...a section containing metadata on function stack sizes. We use this to measure changes to stack size between versions of the compiler and it also allows our licensees to do the same for their code. The section simply contains pairs of function symbol references (8 byte) and stack sizes (unsigned LEB128). We would like to upstream this change as a PS4 only modification, or as a more general cross platform one. Would people be interested in (or happy with) such a patch, target specific or otherwise? Thanks, Sean Eveson SN Systems - Sony Interactive Entertainment -------------- next part -...
2020 Aug 05
3
[RFC] Introduce Dump Accumulator
...R->Message += "\n"; >>    } >> >> AsmPrinter >> ---------- >> >> We dump the messages from DumpAccumulator into a section called >> ".llvm_dump" in a compressed manner.  Specifically, the section >> contains: >> >> - LEB128 encoding of the original size in bytes >> - LEB128 encoding of the compressed size in bytes >> - the message compressed by zlib::compressed >> >> in that order. >> >> llvm-readobj >> ------------ >> >> We read the .llvm_dump section.  We dump ea...
2017 May 27
6
Should we split llvm Support and ADT?
...clude "llvm/Support/DataTypes.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Error.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/Format.h" #include "llvm/Support/FormattedStream.h" #include "llvm/Support/LEB128.h" #include "llvm/Support/LowLevelTypeImpl.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/Regex.h&quo...
2020 Aug 05
3
[RFC] Introduce Dump Accumulator
...sage += "\n"; > > } > > > > AsmPrinter > > ---------- > > > > We dump the messages from DumpAccumulator into a section called > > ".llvm_dump" in a compressed manner. Specifically, the section > > contains: > > > > - LEB128 encoding of the original size in bytes > > - LEB128 encoding of the compressed size in bytes > > - the message compressed by zlib::compressed > > > > in that order. > > > > llvm-readobj > > ------------ > > > > We read the .llvm_dump section. W...
2017 May 29
3
Should we split llvm Support and ADT?
...ePruning.h > CBindingWrapping.h > CodeGen.h > CodeGenCWrappers.h > COFF.h > Compression.h > DebugCounter.h > DotGraphTraits.h > Dwarf.def > Dwarf.h > DynamicLibrary.h > ELF.h > GCOV.h > GenericDomTree.h > GenericDomTreeConstruction.h > GraphWriter.h > LEB128.h > LockFileManager.h > LowLevelTypeImpl.h > MachO.def > MachO.h > MipsABIFlags.h > OnDiskHashTable.h > PluginLoader.h > Registry.h > ScopedPrinter.h > SMLoc.h > Solaris.h > SourceMgr.h > SpecialCaseList.h > TargetParser.h > TargetRegistry.h > TargetS...
2015 May 22
0
[LLVMdev] RFC - Improvements to PGO profile support
...tion of the format of the profile > data file. > > The Clang user guide here describes it as an ASCII text file: > http://clang.llvm.org/docs/UsersManual.html#sample-profile-format > > Whereas the posts above and the referenced link describe it as a stream of > bytes containing LEB128s: > http://www.llvm.org/docs/CoverageMappingFormat.html > > From experimenting with the latest trunk I can see the latter is correct > (well, at least the file I get is not ASCII text). > Should we update the Clang user guide documentation? > Or am I just getting confused? Are the...
2017 May 29
3
Should we split llvm Support and ADT?
...ePruning.h > CBindingWrapping.h > CodeGen.h > CodeGenCWrappers.h > COFF.h > Compression.h > DebugCounter.h > DotGraphTraits.h > Dwarf.def > Dwarf.h > DynamicLibrary.h > ELF.h > GCOV.h > GenericDomTree.h > GenericDomTreeConstruction.h > GraphWriter.h > LEB128.h > LEB128.h seems quite generic. > LockFileManager.h > LowLevelTypeImpl.h > MachO.def > MachO.h > MipsABIFlags.h > OnDiskHashTable.h > PluginLoader.h > Registry.h > ScopedPrinter.h > SMLoc.h > Solaris.h > SourceMgr.h > SpecialCaseList.h > TargetPars...
2017 May 29
3
Should we split llvm Support and ADT?
2017-05-26 17:47 GMT-07:00 Zachary Turner via llvm-dev < llvm-dev at lists.llvm.org>: > Changing a header file somewhere and having to spend 10 minutes waiting > for a build leads to a lot of wasted developer time. > > The real culprit here is tablegen. Can we split support and ADT into two > - the parts that tablegen depends on and the parts that it doesn't? >
2015 May 22
2
[LLVMdev] RFC - Improvements to PGO profile support
...bit confused about the documentation of the format of the profile data file. The Clang user guide here describes it as an ASCII text file: http://clang.llvm.org/docs/UsersManual.html#sample-profile-format Whereas the posts above and the referenced link describe it as a stream of bytes containing LEB128s: http://www.llvm.org/docs/CoverageMappingFormat.html >From experimenting with the latest trunk I can see the latter is correct (well, at least the file I get is not ASCII text). Should we update the Clang user guide documentation? Or am I just getting confused? Are there two formats, one used...
2017 May 27
4
Should we split llvm Support and ADT?
...nclude "llvm/Support/Debug.h" >> #include "llvm/Support/Error.h" >> #include "llvm/Support/ErrorHandling.h" >> #include "llvm/Support/Format.h" >> #include "llvm/Support/FormattedStream.h" >> #include "llvm/Support/LEB128.h" >> #include "llvm/Support/LowLevelTypeImpl.h" >> #include "llvm/Support/ManagedStatic.h" >> #include "llvm/Support/MathExtras.h" >> #include "llvm/Support/MemoryBuffer.h" >> #include "llvm/Support/PrettyStackTrace.h&...
2017 May 27
3
Should we split llvm Support and ADT?
...>>>> #include "llvm/Support/Error.h" >>>> #include "llvm/Support/ErrorHandling.h" >>>> #include "llvm/Support/Format.h" >>>> #include "llvm/Support/FormattedStream.h" >>>> #include "llvm/Support/LEB128.h" >>>> #include "llvm/Support/LowLevelTypeImpl.h" >>>> #include "llvm/Support/ManagedStatic.h" >>>> #include "llvm/Support/MathExtras.h" >>>> #include "llvm/Support/MemoryBuffer.h" >>>> #includ...
2015 May 28
3
[LLVMdev] RFC - Improvements to PGO profile support
...gt; data file. > > > > The Clang user guide here describes it as an ASCII text file: > > http://clang.llvm.org/docs/UsersManual.html#sample-profile-format > > > > Whereas the posts above and the referenced link describe it as a stream > of > > bytes containing LEB128s: > > http://www.llvm.org/docs/CoverageMappingFormat.html > > > > From experimenting with the latest trunk I can see the latter is correct > > (well, at least the file I get is not ASCII text). > > Should we update the Clang user guide documentation? > > Or am I...
2017 May 27
8
Should we split llvm Support and ADT?
...ypes.h" > #include "llvm/Support/Debug.h" > #include "llvm/Support/Error.h" > #include "llvm/Support/ErrorHandling.h" > #include "llvm/Support/Format.h" > #include "llvm/Support/FormattedStream.h" > #include "llvm/Support/LEB128.h" > #include "llvm/Support/LowLevelTypeImpl.h" > #include "llvm/Support/ManagedStatic.h" > #include "llvm/Support/MathExtras.h" > #include "llvm/Support/MemoryBuffer.h" > #include "llvm/Support/PrettyStackTrace.h" > #include...
2017 May 30
3
Should we split llvm Support and ADT?
...pport/Debug.h" >>> #include "llvm/Support/Error.h" >>> #include "llvm/Support/ErrorHandling.h" >>> #include "llvm/Support/Format.h" >>> #include "llvm/Support/FormattedStream.h" >>> #include "llvm/Support/LEB128.h" >>> #include "llvm/Support/LowLevelTypeImpl.h" >>> #include "llvm/Support/ManagedStatic.h" >>> #include "llvm/Support/MathExtras.h" >>> #include "llvm/Support/MemoryBuffer.h" >>> #include "llvm/Support...
2015 May 28
0
[LLVMdev] RFC - Improvements to PGO profile support
...> > The Clang user guide here describes it as an ASCII text file: > > http://clang.llvm.org/docs/UsersManual.html#sample-profile-format > > > > Whereas the posts above and the referenced link describe it as a stream > of > > bytes containing LEB128s: > > http://www.llvm.org/docs/CoverageMappingFormat.html > > > > From experimenting with the latest trunk I can see the latter is correct > > (well, at least the file I get is not ASCII text). > > Should we update the Clang user guide documentation...
2013 Apr 29
2
[LLVMdev] How to prevent LLVM from emitting R_X86_64_32 ELF relocations?
On 04/29/2013 15:53, Keith Walker wrote: > It sounds like you are trying to load the DWARF sections into target memory .... and if so I guess I would have to ask you why as they are not normally loaded into target memory? You are right, debug sections aren't normally loaded into the memory together with the sections needed for running. However, I am mostly focusing on the (lightweight)
2017 Jan 25
2
LLVM 3.9.1 build race?
...p.o CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o CMakeFiles/LLVMSupport.dir/Hashing.cpp.o CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o CMakeFiles/LLVMSupport.dir/IntrusiveRefCntPtr.cpp.o CMakeFiles/LLVMSupport.dir/JamCRC.cpp.o CMakeFiles/LLVMSupport.dir/LEB128.cpp.o CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o CMakeFiles/LLVMSupport.dir/Locale.cpp.o CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o CMakeFiles/LLVMSuppor...