Go to file
Duncan P. N. Exon Smith 02f4bbc588 DebugInfo: Fix invalid file reference in CodeGen/X86/unknown-location.ll
There are two types of files in the old (current) debug info schema.

     = !{!"some/filename", !"/path/to/dir"}
     = !{!"0x29", !0} ; [ DW_TAG_file_type ]

 has a wrapper class called `DIFile` which inherits from `DIScope` and
is referenced in 'scope' fields.

 is called a "file node", and debug info nodes with a 'file' field
point at one of these directly -- although they're built in `DIBuilder`
by sending in a `DIFile` and reaching into it.

In the new hierarchy, I unified these nodes as `MDFile` (which `DIFile`
is a lightweight wrapper for) in r230057.  Moving the new hierarchy into
place (and upgrading testcases) caused CodeGen/X86/unknown-location.ll
to start failing -- apparently "0x29" was previously showing up in the
linetable as a filename, causing:

    .loc 2 4 3

(where 2 points at filename "0x29") instead of:

    .loc 1 4 3

(where 1 points at the actual filename).

Change the testcase to use the old schema correctly.

llvm-svn: 230880
2015-02-28 23:52:24 +00:00
clang Add change accidentally missed from r230840. 2015-02-28 09:58:41 +00:00
clang-tools-extra Add 'let' to the help message. 2015-02-27 17:53:23 +00:00
compiler-rt Revert r229678 "tsan: fix signal handling during stop-the-world" 2015-02-28 22:18:11 +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 libclc/math: Add cospi 2015-02-26 15:42:00 +00:00
libcxx cmath: account for MSVCRT 12.0 changes 2015-02-28 20:18:39 +00:00
libcxxabi Unwind: make it build on Darwin again 2015-02-28 02:23:54 +00:00
lld Do s/_context/_ctx/ to Resolver.cpp. 2015-02-27 23:40:00 +00:00
lldb Temporarily XFAIL TestLaunchWithShellExpand to get the build green 2015-02-28 01:10:57 +00:00
llgo Build cgo and llgo-go 2015-02-14 01:46:01 +00:00
llvm DebugInfo: Fix invalid file reference in CodeGen/X86/unknown-location.ll 2015-02-28 23:52:24 +00:00
openmp Removed all header files for OpenMP 2.5 2015-02-25 18:38:08 +00:00
polly Update obsolete comment 2015-02-28 17:10:06 +00:00