mcgrathr created this revision.
The runtime support is provided directly by the Fuchsia system C library.
Repository:
rL LLVM
https://reviews.llvm.org/D30238
Files:
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
Index: lib/Driver/ToolChains.h
mcgrathr added a comment.
This assumes https://reviews.llvm.org/D30237
Repository:
rL LLVM
https://reviews.llvm.org/D30238
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mcgrathr updated this revision to Diff 89393.
mcgrathr added a comment.
Added test case.
Repository:
rL LLVM
https://reviews.llvm.org/D30238
Files:
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
test/Driver/fuchsia.c
Index: test/Driver/fuchsia.c
mcgrathr updated this revision to Diff 88064.
https://reviews.llvm.org/D29843
Files:
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/ItaniumCXXABI.cpp
Index: lib/CodeGen/ItaniumCXXABI.cpp
===
---
mcgrathr updated this revision to Diff 88068.
mcgrathr added a comment.
This now passes check-clang.
https://reviews.llvm.org/D29843
Files:
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/ItaniumCXXABI.cpp
test/CodeGenCXX/global-init.cpp
mcgrathr added a comment.
This was just the first crack, my first attempt at any change in LLVMland. I
don't know how to run the tests yet.
https://reviews.llvm.org/D29843
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr updated this revision to Diff 88067.
https://reviews.llvm.org/D29843
Files:
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/ItaniumCXXABI.cpp
test/CodeGenCXX/global-init.cpp
test/OpenMP/threadprivate_codegen.cpp
Index:
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rL LLVM
https://reviews.llvm.org/D32231
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr updated this revision to Diff 109428.
mcgrathr added a comment.
Added tests.
https://reviews.llvm.org/D35922
Files:
cmake/caches/Fuchsia-stage2.cmake
lib/Driver/SanitizerArgs.cpp
lib/Driver/ToolChains/Fuchsia.cpp
test/Driver/fuchsia.c
Index: test/Driver/fuchsia.c
mcgrathr created this revision.
The .gnu_hash format is superior, and all versions of the Fuchsia
dynamic linker support it.
Repository:
rL LLVM
https://reviews.llvm.org/D36254
Files:
lib/Driver/ToolChains/Fuchsia.cpp
Index: lib/Driver/ToolChains/Fuchsia.cpp
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
LGTM. The nit below is orthogonal to this change.
Comment at: lib/Driver/ToolChains/Fuchsia.cpp:112
ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs);
-if
mcgrathr added inline comments.
Comment at: cmake/caches/Fuchsia-stage2.cmake:50
set(RUNTIMES_${target}-fuchsia_LIBCXX_ABI_VERSION 2 CACHE STRING "")
+ set(RUNTIMES_${target}-fuchsia_SANITIZER_USE_COMPILER_RT ON CACHE BOOL "")
endforeach()
phosek wrote:
> I
mcgrathr updated this revision to Diff 109603.
mcgrathr added a comment.
Added test.
https://reviews.llvm.org/D36254
Files:
lib/Driver/ToolChains/Fuchsia.cpp
test/Driver/fuchsia.c
Index: test/Driver/fuchsia.c
===
---
mcgrathr updated this revision to Diff 109605.
mcgrathr added a comment.
Check -dynamic-linker in test.
https://reviews.llvm.org/D35922
Files:
cmake/caches/Fuchsia-stage2.cmake
lib/Driver/SanitizerArgs.cpp
lib/Driver/ToolChains/Fuchsia.cpp
test/Driver/fuchsia.c
Index:
mcgrathr created this revision.
mcgrathr added a project: Sanitizers.
Repository:
rL LLVM
https://reviews.llvm.org/D36779
Files:
include/clang/Driver/SanitizerArgs.h
lib/Driver/SanitizerArgs.cpp
test/Driver/fuchsia.c
Index: test/Driver/fuchsia.c
mcgrathr requested changes to this revision.
mcgrathr added a comment.
This revision now requires changes to proceed.
Looks almost right. Might be overkill to add a test case that -z rodynamic is
omitted with -fuse-ld=gold or something.
Comment at:
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rL LLVM
https://reviews.llvm.org/D35582
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr created this revision.
The driver ignores -fsanitize-coverage=... flags when also given
-fsanitize=... flags for sanitizer flavors that don't support the
coverage runtime. This logic failed to account for subsequent
-fno-sanitize=... flags that disable the sanitizer flavors that
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rL LLVM
https://reviews.llvm.org/D35705
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr created this revision.
Repository:
rL LLVM
https://reviews.llvm.org/D35747
Files:
lib/Driver/ToolChains/Fuchsia.h
Index: lib/Driver/ToolChains/Fuchsia.h
===
--- lib/Driver/ToolChains/Fuchsia.h
+++
mcgrathr updated this revision to Diff 107752.
mcgrathr added a comment.
test case
https://reviews.llvm.org/D35747
Files:
lib/Driver/ToolChains/Fuchsia.h
test/Driver/fast-math.c
Index: test/Driver/fast-math.c
===
---
mcgrathr added a comment.
Please land it for me when approved.
https://reviews.llvm.org/D35747
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
LGTM. Perhaps there should be a test.
Repository:
rL LLVM
https://reviews.llvm.org/D35820
___
cfe-commits mailing list
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rL LLVM
https://reviews.llvm.org/D35930
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr created this revision.
mcgrathr added a project: Sanitizers.
Herald added subscribers: mgorny, srhines.
Repository:
rL LLVM
https://reviews.llvm.org/D35922
Files:
cmake/caches/Fuchsia-stage2.cmake
lib/Driver/SanitizerArgs.cpp
lib/Driver/ToolChains/Fuchsia.cpp
Index:
mcgrathr added inline comments.
Comment at: cmake/caches/Fuchsia-stage2.cmake:56
+foreach(target x86_64;aarch64)
+ set(RUNTIMES_${target}-fuchsia-asan_CMAKE_BUILD_WITH_INSTALL_RPATH ON CACHE
BOOL "")
Can you do this without duplicating all the identical
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rL LLVM
https://reviews.llvm.org/D32613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr added a comment.
Perhaps use llvm::sys::path::parent_path instead of explicit "..".
Perhaps put the getDriver.Dir() + .. + getTriple().str() logic into a shared
subroutine.
Use default rather that CST_Libstdcxx in the switches on GetCXXStdlibType.
Repository:
rL LLVM
mcgrathr created this revision.
Herald added subscribers: kristof.beyls, aemerson.
This regressed for x86-64 in r307856 because it's no longer inherited
from Generic_GCC. We'd never noticed that it was missing other
targets (i.e. aarch64), but Fuchsia is uniform across all machines.
mcgrathr created this revision.
Herald added a subscriber: mgorny.
This is a "Does your linker support it?" option, and all ours do.
Repository:
rL LLVM
https://reviews.llvm.org/D37785
Files:
cmake/caches/Fuchsia-stage2.cmake
Index: cmake/caches/Fuchsia-stage2.cmake
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
LGTM
Since we use lld, -Wl,-O2 also helps make the binaries smaller.
Repository:
rL LLVM
https://reviews.llvm.org/D39017
___
cfe-commits
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
This seems like how it always should have been, since -fuse-ld=lld sets it to
ld.lld, not lld.
Looks to me like the existing MipsLinux and WebAssembly implementations are
wrong too and
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rL LLVM
https://reviews.llvm.org/D40329
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
LGTM with comment added but if a different approach will be required for
multiple Linux targets (which we all treat as "hostish") then it's worth at
least thinking about that now.
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rL LLVM
https://reviews.llvm.org/D39831
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr added a comment.
test case?
Repository:
rL LLVM
https://reviews.llvm.org/D39831
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rL LLVM
https://reviews.llvm.org/D40319
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr added a comment.
In principle this should be OK since we're unconditionally building the
runtimes for `default`.
However, this means that any dynamically-linked host builds will assume our
toolchain-provided shared libraries are available on the runtime host in
standard library
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rL LLVM
https://reviews.llvm.org/D39270
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rL LLVM
https://reviews.llvm.org/D39273
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D48208
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D47668
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D47758
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D48564
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D48563
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
fnu lgtm
Repository:
rC Clang
https://reviews.llvm.org/D46361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr added inline comments.
Comment at: lib/Driver/ToolChains/Fuchsia.cpp:152
+ llvm::sys::path::append(P, normalizeTriple(Triple));
+ return P.str();
+}
The GCC behavior (if --with-sysroot is given to configure) is tooldir/sys-root,
not tooldir itself.
mcgrathr created this revision.
mcgrathr added a reviewer: phosek.
Herald added a subscriber: mgorny.
Enable assertions in both stages.
Release+Asserts is fast enough.
No need to let insanity through.
Repository:
rC Clang
https://reviews.llvm.org/D41471
Files:
mcgrathr added a comment.
I think this wants to be a hard error rather than a warning. Though since we
use -Werror anyway if others feel strongly contrary I won't object.
Repository:
rC Clang
https://reviews.llvm.org/D49511
___
cfe-commits
mcgrathr added a comment.
Is this still live? Should it be different after all the multiarch stuff?
Repository:
rC Clang
https://reviews.llvm.org/D42019
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
The log message could give concrete examples.
Comment at: clang/lib/Driver/Driver.cpp:4169
std::string Driver::GetFilePath(StringRef Name, const ToolChain ) const {
-
mcgrathr added inline comments.
Comment at: lib/Parse/ParseDecl.cpp:244-252
+// If this was declared in a macro, attatch the macro IdentifierInfo to the
+// parsed attribute.
+for (const auto : PP.getAttributeMacros()) {
+ if
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D44947
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr added a comment.
We aren't actually using DWARF 5 yet AFAICT. Our builds don't pass -gdwarf-5.
So I'm not sure we have yet verified that all the DWARF-consuming tools people
are using with Fuchsia binaries can handle all of DWARF 5 (which has several
major format changes). I'd
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
Lgtm with some more comments
Repository:
rC Clang
https://reviews.llvm.org/D44724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr added a comment.
When targetting Darwin we should really not be even compiling libc++/libc++abi
and certainly should not have anything else compiling against their headers
since at runtime the system libraries will be used and so things better compile
against the system headers that
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D43992
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:566
+ for (const auto : TC.getLibraryPaths()) {
+if(LibPath.length() > 0) {
+ SmallString<128>
mcgrathr added a comment.
In https://reviews.llvm.org/D53787#1282975, @rsmith wrote:
> These symbols really are special. Other symbols are introduced explicitly by
> a declaration, whereas these are declared implicitly by the compiler.
The implicit declaration is the only difference that
mcgrathr added a comment.
In https://reviews.llvm.org/D53787#1279899, @rsmith wrote:
> Replacing the global new and delete is supposed to be a whole-program
> operation (you only get one global allocator). Otherwise you couldn't
> allocate memory in one DSO and deallocate it in another. (And
mcgrathr added a comment.
In https://reviews.llvm.org/D53787#1283051, @rsmith wrote:
> In https://reviews.llvm.org/D53787#1282995, @mcgrathr wrote:
>
> > In https://reviews.llvm.org/D53787#1282975, @rsmith wrote:
> >
> > > Other symbols must have exactly one definition (modulo the permission for
mcgrathr accepted this revision.
mcgrathr added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/lib/Driver/ToolChains/Fuchsia.cpp:125
!Args.hasArg(options::OPT_static);
+
mcgrathr reopened this revision.
mcgrathr added inline comments.
This revision is now accepted and ready to land.
Comment at: lib/Driver/ToolChains/Fuchsia.cpp:128
if (OnlyLibstdcxxStatic)
- CmdArgs.push_back("-Bstatic");
+
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D54064
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr added inline comments.
Comment at: lib/Driver/ToolChains/Fuchsia.cpp:128
if (OnlyLibstdcxxStatic)
- CmdArgs.push_back("-Bstatic");
+ CmdArgs.push_back("-static");
ToolChain.AddCXXStdlibLibArgs(Args, CmdArgs);
MaskRay
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D54082
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D53970
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
https://reviews.llvm.org/D54169
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D54463
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr requested changes to this revision.
mcgrathr added a comment.
This revision now requires changes to proceed.
This breaks the semantics we want. The `-Bdynamic` is there to apply to `-lm`,
which is also what `--as-needed` is there for in this case (it appears earlier
because of the
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
So the default is not per-target? It should be.
Repository:
rC Clang
https://reviews.llvm.org/D54026
___
cfe-commits mailing list
mcgrathr added a comment.
The motivating use case always pairs `noderef` with an `address_space`
attribute, and it's already invalid to convert between pointer types in
different address spaces without a cast.
So I don't think we have a strong opinion one way or the other. In the
abstract,
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm as long as we revert when the underlying bugs are resovled
Repository:
rC Clang
https://reviews.llvm.org/D52402
___
cfe-commits
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D52660
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm. Wouldn't hurt to comment that this depends on a linker new enough to
support the new reloc types (only reason it's conditional at all) and since we
default to lld we don't worry
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56348/new/
https://reviews.llvm.org/D56348
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56350/new/
https://reviews.llvm.org/D56350
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56359/new/
https://reviews.llvm.org/D56359
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56972/new/
https://reviews.llvm.org/D56972
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56652/new/
https://reviews.llvm.org/D56652
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55405/new/
https://reviews.llvm.org/D55405
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
IMHO the library code should use `#if !__has_feature(...)` to avoid the
definitions entirely when built with a sanitizer whose runtime provides them.
But this is a fine way to achieve that
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
This is only on GCC trunk (i.e. 9), not in 8.2 or even the current gcc-8
branch. So clarify the log entry. We don't know if 8.x,x>2 will add it or
only gcc 9.
Repository:
rC Clang
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm with a comment (and perhaps an assertion).
Comment at: clang/lib/CodeGen/CGVTables.cpp:777
+ CGM.setGVProperties(VTable, RD);
+
Give it a
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm contingent on verifying intended behavior changes and adding comments.
The factoring suggestion for the triple,triple searching is preferred but at
your discretion, though I'd
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62469/new/
https://reviews.llvm.org/D62469
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62558/new/
https://reviews.llvm.org/D62558
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62712/new/
https://reviews.llvm.org/D62712
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
Lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64605/new/
https://reviews.llvm.org/D64605
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64140/new/
https://reviews.llvm.org/D64140
___
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:1507
+Multilib::flags_list ) {
+ if (Enabled)
+
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
lgtm
Comment at: clang/include/clang/Driver/Multilib.h:81
+ /// Returns the multilib priority.
+ int priority() const { return Priority; }
Say
mcgrathr added inline comments.
Comment at: clang/lib/Driver/ToolChains/Fuchsia.cpp:179
+ .flag("+fno-exceptions");
+ Multilib ASan = Multilib("/asan", "", "", 2).flag("+fsanitize=address");
+ Multilibs.push_back(Default);
Add a
mcgrathr created this revision.
mcgrathr added reviewers: phosek, MaskRay.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
These "sanitizers" are hardened ABIs that are wholly orthogonal
to the SanitizerCoverage instrumentation.
Repository:
rG LLVM Github Monorepo
mcgrathr created this revision.
Herald added subscribers: cfe-commits, cryptoad, kristof.beyls, javed.absar.
Herald added a project: clang.
On AArch64, Fuchsia fully supports both SafeStack and ShadowCallStack ABIs.
The latter is now preferred and will be the default. It's possible to
enable
mcgrathr added reviewers: phosek, leonardchan, jakehehrlich.
mcgrathr added a comment.
This should land only after we've done our first stages of downstream roll-out
and burn-in testing. But setting it up now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
mcgrathr added inline comments.
Comment at: clang/lib/Basic/Targets/X86.h:858
+ : FuchsiaTargetInfo(Triple, Opts) {
+LongDoubleFormat = ::APFloat::IEEEquad();
+ }
Can we just do this in FuchsiaTargetInfo generically?
I think we'd like to make our core
mcgrathr updated this revision to Diff 225273.
mcgrathr added a comment.
rebased
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66712/new/
https://reviews.llvm.org/D66712
Files:
clang/lib/Driver/ToolChains/Fuchsia.cpp
mcgrathr added a comment.
It's time to land this now. Can one of you commit it for me?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66712/new/
https://reviews.llvm.org/D66712
___
cfe-commits mailing
mcgrathr updated this revision to Diff 241561.
mcgrathr added a comment.
style nit
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73734/new/
https://reviews.llvm.org/D73734
Files:
clang/lib/Driver/ToolChains/CommonArgs.cpp
Index:
1 - 100 of 199 matches
Mail list logo