Go to file
Duncan P. N. Exon Smith e274180f0e DebugInfo: Move new hierarchy into place
Move the specialized metadata nodes for the new debug info hierarchy
into place, finishing off PR22464.  I've done bootstraps (and all that)
and I'm confident this commit is NFC as far as DWARF output is
concerned.  Let me know if I'm wrong :).

The code changes are fairly mechanical:

  - Bumped the "Debug Info Version".
  - `DIBuilder` now creates the appropriate subclass of `MDNode`.
  - Subclasses of DIDescriptor now expect to hold their "MD"
    counterparts (e.g., `DIBasicType` expects `MDBasicType`).
  - Deleted a ton of dead code in `AsmWriter.cpp` and `DebugInfo.cpp`
    for printing comments.
  - Big update to LangRef to describe the nodes in the new hierarchy.
    Feel free to make it better.

Testcase changes are enormous.  There's an accompanying clang commit on
its way.

If you have out-of-tree debug info testcases, I just broke your build.

  - `upgrade-specialized-nodes.sh` is attached to PR22564.  I used it to
    update all the IR testcases.
  - Unfortunately I failed to find way to script the updates to CHECK
    lines, so I updated all of these by hand.  This was fairly painful,
    since the old CHECKs are difficult to reason about.  That's one of
    the benefits of the new hierarchy.

This work isn't quite finished, BTW.  The `DIDescriptor` subclasses are
almost empty wrappers, but not quite: they still have loose casting
checks (see the `RETURN_FROM_RAW()` macro).  Once they're completely
gutted, I'll rename the "MD" classes to "DI" and kill the wrappers.  I
also expect to make a few schema changes now that it's easier to reason
about everything.

llvm-svn: 231082
2015-03-03 17:24:31 +00:00
clang Lower _mm256_broadcastsi128_si256 directly to a vector shuffle. 2015-03-03 17:22:53 +00:00
clang-tools-extra Add -fexceptions for targets which need it 2015-03-02 19:12:51 +00:00
compiler-rt Symbolizer refactoring: Turn FillAddressAndModuleInfo into FillModuleInfo 2015-03-03 09:18:44 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement step builtin 2015-03-02 15:29:41 +00:00
libcxx Add better tests for ctype<char>::classic_table 2015-03-03 16:15:26 +00:00
libcxxabi [libcxxabi] Build both static and shared versions of libc++abi by default. 2015-03-03 15:59:09 +00:00
lld [ELF] Implement R_X86_64_PC16 relocation. 2015-03-03 07:38:20 +00:00
lldb Fix and enable some tests on Linux (MI) 2015-03-03 15:32:39 +00:00
llgo [llgo] debug: create replaceable type through DIBuilder 2015-03-02 12:42:45 +00:00
llvm DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
openmp Cleanup provided by Carlo Bertolli 2015-03-03 16:19:57 +00:00
polly Do not model scalar accesses in non-affine subregions 2015-03-02 14:06:01 +00:00