Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Merge tag 'swift-DEVELOPMENT-SNAPSHOT-2019-06-17-a' into tensorflow #331

Merged
merged 10 commits into from
Jun 19, 2019

Conversation

burmako
Copy link

@burmako burmako commented Jun 19, 2019

Tag build swift-DEVELOPMENT-SNAPSHOT-2019-06-17-a.

christinaa and others added 10 commits June 7, 2019 11:17
Added it under C language changes as a nonstandard
extension for the time being.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362581 91177308-0d34-0410-b5e6-96231b3b80d8
This relands commit rL360833 which caused issues on Win32
bots due to path handling/normalization differences. Now
this uses `sys::path::filename` which should handle
additional edge cases on Win32.

Original commit:

"[Clang][PP] Add the __FILE_NAME__ builtin macro" 

This patch adds the __FILE_NAME__ macro that expands to the
last component of the path, similar to __FILE__ except with
a guarantee that only the last path component (without the
separator) will be rendered.

I intend to follow through with discussion of this with WG14
as a potential inclusion in the C standard or failing that,
try to discuss this with GCC developers since this extension
is desired by GCC and Clang users/developers alike.

Differential Revision: https://reviews.llvm.org/D61756



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360938 91177308-0d34-0410-b5e6-96231b3b80d8
Document the `__FILE_NAME__` preprocessor extension.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360994 91177308-0d34-0410-b5e6-96231b3b80d8
in the compiler

The function SetUpDiagnosticLog that was called from createDiagnostics didn't
handle the case where the diagnostics engine didn't own the diagnostics consumer.
This is a potential problem for a clang tool, in particular some of the follow-up
patches for clang-scan-deps will need this fix.

Differential Revision: https://reviews.llvm.org/D63101

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363009 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 5414c69)
Darwin if the version of libc++abi isn't new enough to include the fix
in r319123

This patch resurrects r264998, which was committed to work around a bug
in libc++abi that was causing _cxa_allocate_exception to return a memory
that wasn't double-word aligned.

http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160328/154332.html

In addition, this patch makes clang issue a warning if the type of the
thrown object requires an alignment that is larger than the minimum
guaranteed by the target C++ runtime.

rdar://problem/49864414

Differential Revision: https://reviews.llvm.org/D61667

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360404 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit d8066f9)
…erge

Tag build swift-DEVELOPMENT-SNAPSHOT-2019-06-17-a
@burmako burmako requested a review from marcrasi June 19, 2019 03:55
@burmako
Copy link
Author

burmako commented Jun 19, 2019

Merging to unblock swiftlang/swift#25599. @marcrasi Please take a look when you can.

@burmako burmako merged commit e8c2446 into tensorflow Jun 19, 2019
@burmako burmako deleted the tensorflow-merge branch June 19, 2019 15:32
@marcrasi
Copy link
Collaborator

lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants