commit | 9282c9fdd1430abbcb6d19181d8f1d4ebc7b8ec9 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Thu Jan 15 04:04:08 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Thu Jan 15 04:04:08 2015 +0000 |
tree | 3e7a9da2ffbfb1b7f1b970de001f9118febd3551 | |
parent | aa9a09be687f078c1372f4e66560fb463f08e886 [diff] |
Merging r226048: ------------------------------------------------------------------------ r226048 | dexonsmith | 2015-01-14 14:27:36 -0800 (Wed, 14 Jan 2015) | 17 lines IR: Move MDLocation into place This commit moves `MDLocation`, finishing off PR21433. There's an accompanying clang commit for frontend testcases. I'll attach the testcase upgrade script I used to PR21433 to help out-of-tree frontends/backends. This changes the schema for `DebugLoc` and `DILocation` from: !{i32 3, i32 7, !7, !8} to: !MDLocation(line: 3, column: 7, scope: !7, inlinedAt: !8) Note that empty fields (line/column: 0 and inlinedAt: null) don't get printed by the assembly writer. ------------------------------------------------------------------------ llvm-svn: 226094