History log of /external/lldb/test/lang/c/bitfields/main.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48f833c33b8c2713e99139941ce3b3885883c4f0 06-Dec-2012 Sean Callanan <scallanan@apple.com> Rewrote the bitfield logic. Major changes include:

- Removed the BitfieldMap class because it is unnecessary.
We now just track the most recently added field.

- Moved the code that calculates bitfield widths so it
can also be used to determine whether it's necessary
to insert anonymous fields.

- Simplified the anonymous field calculation code into
three cases (two of which are resolved identically).

- Beefed up the bitfield testcase.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/lang/c/bitfields/main.c
c2ed5cc36a2aac7be58de8ce6b02707b28015cb9 06-Nov-2012 Greg Clayton <gclayton@apple.com> Added unnamed bitfields to our bitfield test.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167473 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/lang/c/bitfields/main.c
8f2e392e8937aaf66f91201dc5f4190d61902c67 04-Feb-2012 Sean Callanan <scallanan@apple.com> I have brought LLDB up-to-date with top of tree
LLVM/Clang. This brings in several fixes, including:

- Improvements in the Just-In-Time compiler's
allocation of memory: the JIT now allocates
memory in chunks of sections, improving its
ability to generate relocations. I have
revamped the RecordingMemoryManager to reflect
these changes, as well as to get the memory
allocation and data copying out fo the
ClangExpressionParser code. Jim Grosbach wrote
the updates to the JIT on the LLVM side.

- A new ExternalASTSource interface to allow LLDB to
report accurate structure layout information to
Clang. Previously we could only report the sizes
of fields, not their offsets. This meant that if
data structures included field alignment
directives, we could not communicate the necessary
alignment to Clang and accesses to the data would
fail. Now we can (and I have update the relevant
test case). Thanks to Doug Gregor for implementing
the Clang side of this fix.

- The way Objective-C interfaces are completed by
Clang has been made consistent with RecordDecls;
with help from Doug Gregor and Greg Clayton I have
ensured that this still works.

- I have eliminated all local LLVM and Clang patches,
committing the ones that are still relevant to LLVM
and Clang as needed.

I have tested the changes extensively locally, but
please let me know if they cause any trouble for you.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/lang/c/bitfields/main.c
b794017ee4b085b28249af1511b3bdcaef8924ce 25-Jun-2011 Johnny Chen <johnny.chen@apple.com> Move some directories to now reside under lang/c or lang/cpp.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133881 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/lang/c/bitfields/main.c