Yuri Gorshenin
e8c81fd25a
[asan-asm-instrumentation] CFI directives are generated for .S files.
...
Summary: CFI directives are generated for .S files.
Reviewers: eugenis
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D5520
llvm-svn: 219199
2014-10-07 11:03:09 +00:00
Yuri Gorshenin
3939dec1f7
[asan-assembly-instrumentation] Added CFI directives to the generated instrumentation code.
...
Summary: [asan-assembly-instrumentation] Added CFI directives to the generated instrumentation code.
Reviewers: eugenis
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D5189
llvm-svn: 217482
2014-09-10 09:45:49 +00:00
Yuri Gorshenin
c107d147dc
[asan-assembly-instrumentation] Prologue and epilogue are moved out from InstrumentMemOperand().
...
Reviewers: eugenis
Subscribers: llvm-commits
Differential revision: http://reviews.llvm.org/D4923
llvm-svn: 216879
2014-09-01 12:51:00 +00:00
Yuri Gorshenin
e2f01eb730
Revert "[asan-assembly-instrumentation] Prologue and epilogue are moved out from InstrumentMemOperand()."
...
This reverts commit 895aa397038b8de86d83ac0997a70949a486e112.
llvm-svn: 216872
2014-09-01 10:24:04 +00:00
Yuri Gorshenin
506a170d63
[asan-assembly-instrumentation] Prologue and epilogue are moved out from InstrumentMemOperand().
...
llvm-svn: 216869
2014-09-01 09:56:45 +00:00
Evgeniy Stepanov
5050553ab8
Clang-format over X86AsmInstrumentation.* with LLVM style.
...
r216536 mistakenly used -style=Google instead of LLVM.
llvm-svn: 216543
2014-08-27 13:11:55 +00:00
Evgeniy Stepanov
4d04f66627
Clang-format over X86AsmInstrumentation.*.
...
llvm-svn: 216536
2014-08-27 11:10:54 +00:00
Benjamin Kramer
a7c40ef022
Canonicalize header guards into a common format.
...
Add header guards to files that were missing guards. Remove #endif comments
as they don't seem common in LLVM (we can easily add them back if we decide
they're useful)
Changes made by clang-tidy with minor tweaks.
llvm-svn: 215558
2014-08-13 16:26:38 +00:00
Evgeniy Stepanov
77ad86681f
[asan] Support x86 REP MOVS asm instrumentation.
...
Patch by Yuri Gorshenin.
llvm-svn: 214395
2014-07-31 09:11:04 +00:00
David Blaikie
960ea3f018
AsmMatchers: Use unique_ptr to manage ownership of MCParsedAsmOperand
...
I saw at least a memory leak or two from inspection (on probably
untested error paths) and r206991, which was the original inspiration
for this change.
I ran this idea by Jim Grosbach a few weeks ago & he was OK with it.
Since it's a basically mechanical patch that seemed sufficient - usual
post-commit review, revert, etc, as needed.
llvm-svn: 210427
2014-06-08 16:18:35 +00:00
Evgeniy Stepanov
f4a36999ad
[asan] Use MCInstrInfo in inline asm instrumentation.
...
Patch by Yuri Gorshenin.
llvm-svn: 207115
2014-04-24 13:29:34 +00:00
Evgeniy Stepanov
0a951b775e
Create MCTargetOptions.
...
For now it contains a single flag, SanitizeAddress, which enables
AddressSanitizer instrumentation of inline assembly.
Patch by Yuri Gorshenin.
llvm-svn: 206971
2014-04-23 11:16:03 +00:00
Evgeniy Stepanov
49e2625144
AddressSanitizer instrumentation for MOV and MOVAPS.
...
This is an initial version of *Sanitizer instrumentation of assembly code.
Patch by Yuri Gorshenin.
llvm-svn: 203908
2014-03-14 08:58:04 +00:00