Author: rafael
Date: Thu Mar 22 13:33:01 2018
New Revision: 328238
URL: http://llvm.org/viewvc/llvm-project?rev=328238&view=rev
Log:
Set dso_local on vtables.
Modified:
cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
cfe/trunk/test/CodeGenCXX/dllexport.cpp
Modified: cfe/trunk/lib/CodeGen/Itanium
espindola accepted this revision.
espindola added a comment.
328238
https://reviews.llvm.org/D44796
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
pcc accepted this revision.
pcc added a comment.
This revision is now accepted and ready to land.
LGTM
Please add a test for the driver functionality.
Repository:
rC Clang
https://reviews.llvm.org/D44801
___
cfe-commits mailing list
cfe-commits@
eugenis added inline comments.
Comment at: test/Driver/asan.c:12
-// RUN: %clang -O2 -target aarch64-unknown-linux -fsanitize=hwaddress %s -S
-emit-llvm -o - | FileCheck %s --check-prefix=CHECK-HWASAN
-// RUN: %clang -O3 -target aarch64-unknown-linux -fsanitize=hwaddress %s -S
espindola created this revision.
espindola added reviewers: echristo, rnk.
https://reviews.llvm.org/D44805
Files:
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/dllexport.cpp
Index: test/CodeGenCXX/dllexport.cpp
===
--- test/C
probinson added a comment.
In https://reviews.llvm.org/D44788#1046093, @dblaikie wrote:
> In implicit ThinLTO, the object files are only temporary.
>
> Sort of similar to using -gsplit-dwarf when compiling straight to an
> executable (without using -c): "clang++ x.cpp y.cpp -o a.out" - where
>
rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
https://reviews.llvm.org/D44805
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.
Comment at: compiler-rt/test/fuzzer/lit.cfg:88
+
+config.substitutions.append(('%no_opt_cpp_compiler',
+ generate_compiler_cmd(is_cpp=True, fuzzer_enabled=Tr
vsapsai updated this revision to Diff 139506.
vsapsai added a comment.
- Replace `function::operator=(nullptr);` with `*this = nullptr;`
https://reviews.llvm.org/D34331
Files:
libcxx/include/__functional_03
libcxx/include/functional
libcxx/test/libcxx/utilities/function.objects/func.wrap
Author: rafael
Date: Thu Mar 22 14:14:16 2018
New Revision: 328242
URL: http://llvm.org/viewvc/llvm-project?rev=328242&view=rev
Log:
Revert "Set dso_local on vtables."
This reverts commit r328238.
Looks like it broke some buildbots.
Modified:
cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
cfe/
The only data we have is that where .o files go, .dwo files go beside them.
How to generalize this to other situations isn't really obvious to me -
even for a.out (do you put all the .dwo files next to a.out? in the same
directory? if the names collide, where then? etc).
Interestingly GCC for "g++
dblaikie added a comment.
The only data we have is that where .o files go, .dwo files go beside them.
How to generalize this to other situations isn't really obvious to me -
even for a.out (do you put all the .dwo files next to a.out? in the same
directory? if the names collide, where then? etc).
Author: ericwf
Date: Thu Mar 22 14:17:07 2018
New Revision: 328243
URL: http://llvm.org/viewvc/llvm-project?rev=328243&view=rev
Log:
Fix test failure on Windows caused by different underlying enumeration type
rules
Modified:
cfe/trunk/test/SemaCXX/builtin-operator-new-delete.cpp
Modified: c
Author: ericwf
Date: Thu Mar 22 14:28:09 2018
New Revision: 328245
URL: http://llvm.org/viewvc/llvm-project?rev=328245&view=rev
Log:
Use DoNotOptimize to prevent new/delete elision.
The new/delete tests, in particular those which test replacement
functions, often fail when the optimizer is enable
This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rC328247: [analyzer] Make symbol_iterator iterate over
SVal's symbolic base. (authored by dergachev, committed by ).
Reposi
Author: dergachev
Date: Thu Mar 22 14:30:58 2018
New Revision: 328247
URL: http://llvm.org/viewvc/llvm-project?rev=328247&view=rev
Log:
[analyzer] Make symbol_iterator iterate over SVal's symbolic base.
If a memory region (or an SVal that represents a pointer to that memory region)
is a (direct o
alekseyshl added inline comments.
Comment at: test/Driver/asan.c:12
-// RUN: %clang -O2 -target aarch64-unknown-linux -fsanitize=hwaddress %s -S
-emit-llvm -o - | FileCheck %s --check-prefix=CHECK-HWASAN
-// RUN: %clang -O3 -target aarch64-unknown-linux -fsanitize=hwaddress %s -
alekseyshl updated this revision to Diff 139513.
alekseyshl added a comment.
- Revert triple change in asan.cc test
Repository:
rC Clang
https://reviews.llvm.org/D44745
Files:
lib/Driver/SanitizerArgs.cpp
lib/Driver/ToolChains/Linux.cpp
test/Driver/Inputs/resource_dir/lib/linux/libclan
Author: dergachev
Date: Thu Mar 22 14:37:39 2018
New Revision: 328248
URL: http://llvm.org/viewvc/llvm-project?rev=328248&view=rev
Log:
[CFG] [analyzer] Add C++17-specific variable and return construction contexts.
In C++17 copy elision is mandatory for variable and return value constructors
(as
This revision was automatically updated to reflect the committed changes.
Closed by commit rL328248: [CFG] [analyzer] Add C++17-specific variable and
return construction contexts. (authored by dergachev, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://r
Author: dergachev
Date: Thu Mar 22 14:40:24 2018
New Revision: 328249
URL: http://llvm.org/viewvc/llvm-project?rev=328249&view=rev
Log:
[CFG] [analyzer] NFC: Move construction context allocation into a helper method.
Improve readability of ConstructionContext::createFromLayers().
Differential Re
This revision was automatically updated to reflect the committed changes.
Closed by commit rC328249: [CFG] [analyzer] NFC: Move construction context
allocation into a helper method. (authored by dergachev, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D44725
Files:
include/c
bruno accepted this revision.
bruno added a comment.
This revision is now accepted and ready to land.
Hi Jordan,
Thanks for improving this. LGTM
Repository:
rC Clang
https://reviews.llvm.org/D44498
___
cfe-commits mailing list
cfe-commits@lists.
This revision was automatically updated to reflect the committed changes.
Closed by commit rL328253: [analyzer] Remove an assertion that doesn't
hold in C++17. (authored by dergachev, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D447
Author: dergachev
Date: Thu Mar 22 14:54:48 2018
New Revision: 328253
URL: http://llvm.org/viewvc/llvm-project?rev=328253&view=rev
Log:
[analyzer] Remove an assertion that doesn't hold in C++17.
Function return values can be constructed directly in variables or passed
directly into return stateme
Author: dergachev
Date: Thu Mar 22 15:02:38 2018
New Revision: 328255
URL: http://llvm.org/viewvc/llvm-project?rev=328255&view=rev
Log:
[CFG] [analyzer] Add C++17-specific ctor-initializer construction contexts.
CXXCtorInitializer-based constructors are also affected by the C++17 mandatory
copy e
This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL328255: [CFG] [analyzer] Add C++17-specific ctor-initializer
construction contexts. (authored by dergachev, committed by )
This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rC328255: [CFG] [analyzer] Add C++17-specific ctor-initializer
construction contexts. (authored by dergachev, committed by )
Author: dergachev
Date: Thu Mar 22 15:05:53 2018
New Revision: 328258
URL: http://llvm.org/viewvc/llvm-project?rev=328258&view=rev
Log:
[analyzer] Enable temporary object destructor inlining by default.
When a temporary is constructed with a proper construction context, it should
be safe to inlin
This revision was automatically updated to reflect the committed changes.
Closed by commit rL328258: [analyzer] Enable temporary object destructor
inlining by default. (authored by dergachev, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.
rnk requested changes to this revision.
rnk added a comment.
This revision now requires changes to proceed.
Use `llvm::sys::Process::GetArgumentVector`, which already does wildcard
expansion from what I can see. It works with Unicode command lines and isn't
affected by locale.
Repository:
rC
bruno accepted this revision.
bruno added a comment.
This revision is now accepted and ready to land.
One minor suggestion but otherwise LGTM
Comment at: lib/Frontend/CompilerInvocation.cpp:3083
+} else {
Diags.Report(diag::err_invalid_vfs_overlay) << File;
}
--
Author: ericwf
Date: Thu Mar 22 15:32:55 2018
New Revision: 328261
URL: http://llvm.org/viewvc/llvm-project?rev=328261&view=rev
Log:
Workaround GCC bug PR78489 - SFINAE order is not respected.
This patch works around variant test failures which are new to
GCC 8. GCC 8 either doesn't perform SFINA
Author: rafael
Date: Thu Mar 22 15:57:48 2018
New Revision: 328263
URL: http://llvm.org/viewvc/llvm-project?rev=328263&view=rev
Log:
Add a test.
This would have found the regression in r328238.
Added:
cfe/trunk/test/CodeGenCXX/rtti-hidden.cpp
Added: cfe/trunk/test/CodeGenCXX/rtti-hidden.cpp
Author: stl_msft
Date: Thu Mar 22 15:59:02 2018
New Revision: 328264
URL: http://llvm.org/viewvc/llvm-project?rev=328264&view=rev
Log:
[libcxx] [test] Strip trailing whitespace. NFC.
Modified:
libcxx/trunk/test/libcxx/strings/basic.string/string.modifiers/clear_and_shrink_db1.pass.cpp
li
alexfh added a comment.
In https://reviews.llvm.org/D44778#1046251, @rnk wrote:
> Use `llvm::sys::Process::GetArgumentVector`, which already does wildcard
> expansion from what I can see. It works with Unicode command lines and isn't
> affected by locale.
I vaguely remember that windows conso
Author: ericwf
Date: Thu Mar 22 16:01:08 2018
New Revision: 328265
URL: http://llvm.org/viewvc/llvm-project?rev=328265&view=rev
Log:
Avoid Clang error about throwing _LIBCPP_ASSERT in noexcept function.
This fixes a couple of tests which produced a warning that a 'throw'
occurred in a noexcept fu
Author: rafael
Date: Thu Mar 22 16:02:19 2018
New Revision: 328266
URL: http://llvm.org/viewvc/llvm-project?rev=328266&view=rev
Log:
Set dso_local on __ImageBase.
Modified:
cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp
cfe/trunk/test/CodeGenCXX/dllexport.cpp
Modified: cfe/trunk/lib/CodeGen/M
espindola closed this revision.
espindola added a comment.
328266
https://reviews.llvm.org/D44805
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
alexfh added a comment.
In https://reviews.llvm.org/D44778#1046301, @alexfh wrote:
> In https://reviews.llvm.org/D44778#1046251, @rnk wrote:
>
> > Use `llvm::sys::Process::GetArgumentVector`, which already does wildcard
> > expansion from what I can see. It works with Unicode command lines and
Author: ericwf
Date: Thu Mar 22 16:14:20 2018
New Revision: 328268
URL: http://llvm.org/viewvc/llvm-project?rev=328268&view=rev
Log:
Add temporary printouts to test to help debug failures.
Some debian libc++ bots started having failures in the locale
tests due to what I assume is a change in the
Author: juliehockett
Date: Thu Mar 22 16:34:46 2018
New Revision: 328270
URL: http://llvm.org/viewvc/llvm-project?rev=328270&view=rev
Log:
[clang-doc] Reland "[clang-doc] Setup clang-doc frontend framework"
Fixed windows release build tests.
Added:
clang-tools-extra/trunk/clang-doc/BitcodeWr
eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.
OK, sure, If you feel so strongly about this.
Repository:
rC Clang
https://reviews.llvm.org/D44745
___
cfe-commits mailing list
cfe-commits@
mgrang abandoned this revision.
mgrang added a comment.
This seems to already have been fixed in r327802. Abandoning this patch.
Repository:
rC Clang
https://reviews.llvm.org/D44804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://l
Author: jrose
Date: Thu Mar 22 17:07:18 2018
New Revision: 328276
URL: http://llvm.org/viewvc/llvm-project?rev=328276&view=rev
Log:
Sink PrettyDeclStackTrace down to the AST library
...and add some very basic stack trace entries for module building.
This would have helped track down rdar://proble
jordan_rose closed this revision.
jordan_rose added a comment.
Committed in https://reviews.llvm.org/rL328276.
Repository:
rC Clang
https://reviews.llvm.org/D44498
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-
Author: az
Date: Thu Mar 22 17:08:40 2018
New Revision: 328277
URL: http://llvm.org/viewvc/llvm-project?rev=328277&view=rev
Log:
[ARM] Add ARMv8.2-A FP16 vector intrinsic
Putting back the code in commit r327189 that was reverted in r322737. The code
is being committed in three stages and this on
Author: george.karpenkov
Date: Thu Mar 22 17:16:02 2018
New Revision: 328281
URL: http://llvm.org/viewvc/llvm-project?rev=328281&view=rev
Log:
[analyzer] Extend GCDAntipatternChecker to match group_enter/group_leave pattern
rdar://38480416
Differential Revision: https://reviews.llvm.org/D44653
Author: vsapsai
Date: Thu Mar 22 17:16:06 2018
New Revision: 328283
URL: http://llvm.org/viewvc/llvm-project?rev=328283&view=rev
Log:
[Modules] Update test to mention it requires C++14.
Modified:
cfe/trunk/test/Modules/self-referencing-lambda.cpp
Modified: cfe/trunk/test/Modules/self-referen
Author: george.karpenkov
Date: Thu Mar 22 17:16:01 2018
New Revision: 328280
URL: http://llvm.org/viewvc/llvm-project?rev=328280&view=rev
Log:
[analyzer] [NFC] Move worklist implementation to WorkList.cpp
Current location is very confusing, especially because there is already
WorkList.h, and othe
Author: george.karpenkov
Date: Thu Mar 22 17:16:03 2018
New Revision: 328282
URL: http://llvm.org/viewvc/llvm-project?rev=328282&view=rev
Log:
[analyzer] Trust _Nonnull annotations for system framework
Changes the analyzer to believe that methods annotated with _Nonnull
from system frameworks ind
Author: jrose
Date: Thu Mar 22 18:12:09 2018
New Revision: 328286
URL: http://llvm.org/viewvc/llvm-project?rev=328286&view=rev
Log:
Remove problematic PrettyStackTrace entry added in r328276
I'm not sure /why/ this is causing issues for libclang, but it is.
Unbreak the buildbots since it's alread
Author: rafael
Date: Thu Mar 22 18:36:23 2018
New Revision: 328288
URL: http://llvm.org/viewvc/llvm-project?rev=328288&view=rev
Log:
Bring r328238 back with a fix.
The issues was that we were setting hidden visibility if, when
processing a hidden class, we found out that we needed to emit a
refer
dexonsmith requested changes to this revision.
dexonsmith added a comment.
This revision now requires changes to proceed.
I agree with Saleem and Bob: `__is_target_*` is not confusing here and seems to
be a straightforward spelling. It has also already shipped in LLVM 6.0.0: it
would be awkward
vlad.tsyrklevich updated this revision to Diff 139554.
vlad.tsyrklevich added a comment.
- Add Driver tests
Repository:
rC Clang
https://reviews.llvm.org/D44801
Files:
docs/ShadowCallStack.rst
docs/index.rst
include/clang/Basic/Sanitizers.def
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/C
manojgupta created this revision.
manojgupta added reviewers: kristof.beyls, rengolin, peter.smith, t.p.northover.
Herald added subscribers: eraman, javed.absar.
Allow rN registers to be simply parsed as correspoing xN registers.
The "register ... asm("rN")" is an command to the
compiler's registe
manojgupta updated this revision to Diff 139556.
manojgupta added a comment.
Indenting and a minor fix.
Repository:
rC Clang
https://reviews.llvm.org/D44815
Files:
lib/Basic/Targets/AArch64.cpp
test/CodeGen/aarch64-inline-asm.c
Index: test/CodeGen/aarch64-inline-asm.c
=
manojgupta added a comment.
Add more context from the email communication with Peter Smith and Robin Murphy.
On 22/03/18 02:34, Manoj Gupta wrote:
> Hi Robin,
>
> this is Manoj from Google. I was looking into implementing support for
> parsing "r" registers in clang for AArch64 based on lkml t
benhamilton created this revision.
benhamilton added reviewers: djasper, jolesiak, Wizard.
Herald added subscribers: cfe-commits, klimek.
Previously, `clang-format` would sometimes insert a space
before the closing brace in an Objective-C dictionary literal.
Unlike array literals (which obey `Sty
srhines added a comment.
Peter also requested that a test be added to make sure that rY was not accepted
by the Clang assembler as a true synonym for xY.
Comment at: lib/Basic/Targets/AArch64.cpp:320
+{{"r24"}, "x24"}, {{"r25"}, "x25"}, {{"r26"}, "x26"}, {{"r27"}, "x27"},
manojgupta added a comment.
In https://reviews.llvm.org/D44815#1046451, @srhines wrote:
> Peter also requested that a test be added to make sure that rY was not
> accepted by the Clang assembler as a true synonym for xY.
Yes, I am working on that. Wanted to send this out first.
Repository:
kcc added a comment.
[didn't look at the code yet, just at the docs]
Please add a docs section describing how to handle leaf functions.
If they are not handled yet, no need to change the implementation in these
pathches -- ok to do it later.
Comment at: docs/ShadowCallStack.
kcc added a comment.
please also add a short comparison with Intel CET.
Repository:
rC Clang
https://reviews.llvm.org/D44801
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
101 - 163 of 163 matches
Mail list logo