Displaying 14 results from an estimated 14 matches for "aligninbit".
Did you mean:
aligninbits
2014 Sep 11
3
[LLVMdev] patch for DragonEgg 3.3
Hi - attached is a patch to enable building DragonEgg (x86_64) for LLVM3.3 and LLVM3.4. That is, add these changes to the 3.3 release, and it becomes possible to build DragonEgg against a llvm3.4 compiler.
Regards,
Richard Gorton
Cognitive Electronics
rcgorton at cog-e.com
----------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name:
2011 Feb 25
0
[LLVMdev] DIFactory interface is going away
...param File File where this member is defined.
/// @param LineNo Line number.
/// @param SizeInBits Member size.
/// @param AlignInBits Member alignment.
/// @param OffsetInBits Member offset.
/// @param Flags Flags to encode member attribute, e.g. private
/// @param Ty Par...
2009 Sep 23
2
[LLVMdev] DebugFactory
...to add
/// CreateBasicType - Create a basic type like int, float, etc.
DIBasicType CreateBasicType(DIDescriptor Context, const std::string &Name,
DICompileUnit CompileUnit, unsigned LineNumber,
uint64_t SizeInBits, uint64_t AlignInBits,
uint64_t OffsetInBits, unsigned Flags,
unsigned Encoding);
variants that take Constant*, for example,
/// CreateBasicType - Create a basic type like int, float, etc.
DIBasicType CreateBasicType(DIDescriptor Context, const s...
2011 Feb 25
2
[LLVMdev] DIFactory interface is going away
...@param LineNo Line number.
> /// @param SizeInBits Member size.
For Ada this needs to be a Value* since it is dynamic. But presumably this
interface is a direct mapping to the Dwarf specification, i.e. Dwarf itself
has no way of encoding a variable size here?
> /// @param AlignInBits Member alignment.
> /// @param OffsetInBits Member offset.
This is likewise dynamic in general.
> /// @param Flags Flags to encode member attribute, e.g. private
> /// @param Ty Parent type.
> DIType createMemberType(StringRef Name, DIFile File,...
2011 Feb 25
2
[LLVMdev] DIFactory interface is going away
On 24/02/11 22:34, Jason Kim wrote:
> On Thu, Feb 24, 2011 at 1:29 PM, Devang Patel<dpatel at apple.com> wrote:
>> Hi All,
>> DIFactory interface, part of DebugInfo.h, is used to emit LLVM IR constructs
>> to encode debugging information. We are replacing this interface with new
>> simple interface, DIBuilder.
>> Here is one example that demonstrates
2016 Feb 10
3
Question about an error we're now starting to get on LLVM 3.8.0rc2since
On Wed, Feb 10, 2016 at 10:50 AM, Mehdi Amini via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>>> Is this change indeed intended as a visible API change to source code generating references to argument list values? If so, can you point me to a description of how I should change our code? Should I bug someone else about this problem? Should this API change be documented in
2009 Sep 23
0
[LLVMdev] DebugFactory
On Wed, Sep 23, 2009 at 1:51 PM, Dan Gohman <gohman at apple.com> wrote:
>
> On Sep 22, 2009, at 4:49 PM, Talin wrote:
>
>>
>> // Calculate the size of the specified LLVM type.
>> Constant * DebugInfoBuilder::getSize(const Type * type) {
>> Constant * one = ConstantInt::get(Type::Int32Ty, 1);
>> return ConstantExpr::getPtrToInt(
>>
2009 Sep 23
2
[LLVMdev] DebugFactory
On Sep 22, 2009, at 4:49 PM, Talin wrote:
>
> // Calculate the size of the specified LLVM type.
> Constant * DebugInfoBuilder::getSize(const Type * type) {
> Constant * one = ConstantInt::get(Type::Int32Ty, 1);
> return ConstantExpr::getPtrToInt(
> ConstantExpr::getGetElementPtr(
> ConstantPointerNull::get(PointerType::getUnqual(type)),
>
2009 Oct 02
0
[LLVMdev] DebugFactory
...asicType - Create a basic type like int, float, etc.
> DIBasicType CreateBasicType(DIDescriptor Context, const std::string
> &Name,
> DICompileUnit CompileUnit, unsigned
> LineNumber,
> uint64_t SizeInBits, uint64_t AlignInBits,
> uint64_t OffsetInBits, unsigned Flags,
> unsigned Encoding);
>
> variants that take Constant*, for example,
>
> /// CreateBasicType - Create a basic type like int, float, etc.
> DIBasicType CreateBasicType(...
2016 Sep 30
2
DebugInfo: purpose of align field
Hello Adrian, sorry for the delay with the response. Somehow I missed
your message..
On 09/13/2016 12:43 AM, Adrian Prantl wrote:
>> On Sep 10, 2016, at 12:50 PM, Victor Leschuk via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> Hello all,
>>
>> I am currently implementing support for DWARFv5 DW_AT_alignment attr and I got a question about align field in
2014 Dec 19
2
[LLVMdev] question about the DIBuilder::createStructType
...reating a structure member, you have to specify this information :
>
> SizeinBits - the actual size of the member
> OffsetInBits - the number of bits between the start of the
> member in the layout of the structure and the start of the structure
> AlignInBits - the address boundary (if any) to which the
> element has to be aligned.
>
> Remember that on some processor architectures (e.g. Sun),
>
> basic data items (e.g shorts, ints, floats) have to be allocated to store
> at addresses which are multiples of their size;...
2016 Oct 03
2
DebugInfo: purpose of align field
...IType
> (include/IR/DebugInfoMetadata.h) uses a unit64_t field to store the
> alignment.
>
> IIUC, your goal is to avoid emitting a DW_AT_alignment attribute to types
> that use the default alignment. Would it make sense to store the target's
> default alignment in the DIType::AlignInBits field, so the DWARF backend
> can then decide not emit the DW_AT_alignment when it sees it?
>
This whole thread's got a bit long/confusing for me, but some of what's
going on might be suggestions I made earlier. My rough idea is that:
1) We should probably only put alignment on met...
2014 Dec 18
2
[LLVMdev] question about the DIBuilder::createStructType
Hello,
I'm using DIBuilder to create debugging information, I'm not clear about
two things:
[1] Could you help explain the meaning and the difference
between"alignment" and "offset" of a type ?
e.g class Actor{
int age;
const char* name;
}
Besides, I found the denotation of createMemberType and createStructType
both have "Member
2018 Jul 16
3
sizeof(DIFlags)
Hi list,
Is there a standards based reason why the DIFlags enum is set to
uint32_t[1]? I am sure my DWARF-std-reading-fu is not up to snuff and so
I cannot seem to find it.
The reason I ask is that we are running out of space for our own DIFlags
and would like to nail this down before deciding on an approach.
Thanks!
Sohail
[1] The code in question: