<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/lib/Transforms/Instrumentation, branch master</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/lib/Transforms/Instrumentation?h=master</id>
<link rel='self' href='https://git.amat.us/llvm/atom/lib/Transforms/Instrumentation?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-05-09T21:16:18Z</updated>
<entry>
<title>Fix a documentation warning: \bried -&gt; \brief</title>
<updated>2013-05-09T21:16:18Z</updated>
<author>
<name>Dmitri Gribenko</name>
<email>gribozavr@gmail.com</email>
</author>
<published>2013-05-09T21:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=2c694171a597a90c1b7c95b8704ff0d010f9ce3c'/>
<id>urn:sha1:2c694171a597a90c1b7c95b8704ff0d010f9ce3c</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181551 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add DebugIR pass -- emits IR file and replace source lines with IR lines in MD</title>
<updated>2013-05-08T20:44:14Z</updated>
<author>
<name>Daniel Malea</name>
<email>daniel.malea@intel.com</email>
</author>
<published>2013-05-08T20:44:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=13ace6664fad8b4d0277d16690674f4e1f176642'/>
<id>urn:sha1:13ace6664fad8b4d0277d16690674f4e1f176642</id>
<content type='text'>
- requires existing debug information to be present
- fixes up file name and line number information in metadata
- emits a "&lt;orig_filename&gt;-debug.ll" succinct IR file (without !dbg metadata
  or debug intrinsics) that can be read by a debugger
- initialize pass in opt tool to enable the "-debug-ir" flag
- lit tests to follow



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181467 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>This patch breaks up Wrap.h so that it does not have to include all of </title>
<updated>2013-05-01T20:59:00Z</updated>
<author>
<name>Filip Pizlo</name>
<email>fpizlo@apple.com</email>
</author>
<published>2013-05-01T20:59:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=40be1e85665d10f5444186f0e7106e368dd735b8'/>
<id>urn:sha1:40be1e85665d10f5444186f0e7106e368dd735b8</id>
<content type='text'>
the things, and renames it to CBindingWrapping.h.  I also moved 
CBindingWrapping.h into Support/.

This new file just contains the macros for defining different wrap/unwrap 
methods.

The calls to those macros, as well as any custom wrap/unwrap definitions 
(like for array of Values for example), are put into corresponding C++ 
headers.

Doing this required some #include surgery, since some .cpp files relied 
on the fact that including Wrap.h implicitly caused the inclusion of a 
bunch of other things.

This also now means that the C++ headers will include their corresponding 
C API headers; for example Value.h must include llvm-c/Core.h.  I think 
this is harmless, since the C API headers contain just external function 
declarations and some C types, so I don't believe there should be any 
nasty dependency issues here.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180881 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Move C++ code out of the C headers and into either C++ headers</title>
<updated>2013-04-22T22:47:22Z</updated>
<author>
<name>Eric Christopher</name>
<email>echristo@gmail.com</email>
</author>
<published>2013-04-22T22:47:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=3e39731e88f2d4f597cebc74388fd6650ca4f604'/>
<id>urn:sha1:3e39731e88f2d4f597cebc74388fd6650ca4f604</id>
<content type='text'>
or the C++ files themselves. This enables people to use
just a C compiler to interoperate with LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180063 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[ASan] Allow disabling init-order checks for globals by source file name.</title>
<updated>2013-04-11T13:20:00Z</updated>
<author>
<name>Alexey Samsonov</name>
<email>samsonov@google.com</email>
</author>
<published>2013-04-11T13:20:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=305e3b277c5e721431e60808293a9228c62e319e'/>
<id>urn:sha1:305e3b277c5e721431e60808293a9228c62e319e</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179280 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Minor simplification.</title>
<updated>2013-03-28T22:40:08Z</updated>
<author>
<name>Bill Wendling</name>
<email>isanbard@gmail.com</email>
</author>
<published>2013-03-28T22:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=f2a2806baf3763d551a9f361124b608b2eed66fa'/>
<id>urn:sha1:f2a2806baf3763d551a9f361124b608b2eed66fa</id>
<content type='text'>
Go ahead and use the full path for both the .gcno and .gcda files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178302 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[tsan] make sure memset/memcpy/memmove are not inlined in tsan mode</title>
<updated>2013-03-28T11:21:13Z</updated>
<author>
<name>Kostya Serebryany</name>
<email>kcc@google.com</email>
</author>
<published>2013-03-28T11:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=f464481db0c3b5404004b510921ca454803fd1d0'/>
<id>urn:sha1:f464481db0c3b5404004b510921ca454803fd1d0</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178230 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Use the full path when outputting the `.gcda' file.</title>
<updated>2013-03-26T22:47:50Z</updated>
<author>
<name>Bill Wendling</name>
<email>isanbard@gmail.com</email>
</author>
<published>2013-03-26T22:47:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=39c41c3c93e0d223792acb093adce21a714b01c6'/>
<id>urn:sha1:39c41c3c93e0d223792acb093adce21a714b01c6</id>
<content type='text'>
If we compile a single source program, the `.gcda' file will be generated where
the program was executed. This isn't desirable, because that place may be at an
unpredictable place (the program could call `chdir' for instance).

Instead, we will output the `.gcda' file in the same place we output the `.gcno'
file. I.e., the directory where the executable was generated. This matches GCC's
behavior.

&lt;rdar://problem/13061072&gt; &amp; PR11809


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178084 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[ASan] Change the ABI of __asan_before_dynamic_init function: now it takes pointer to private string with module name. This string serves as a unique module ID in ASan runtime. LLVM part</title>
<updated>2013-03-26T13:05:41Z</updated>
<author>
<name>Alexey Samsonov</name>
<email>samsonov@google.com</email>
</author>
<published>2013-03-26T13:05:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=ca825ea24de2f3d819845ee01796dc6c7a45170d'/>
<id>urn:sha1:ca825ea24de2f3d819845ee01796dc6c7a45170d</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178013 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[asan] Change the way we report the alloca frame on stack-buff-overflow.</title>
<updated>2013-03-22T10:37:20Z</updated>
<author>
<name>Kostya Serebryany</name>
<email>kcc@google.com</email>
</author>
<published>2013-03-22T10:37:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=3016056769639878b4f152838f0cf16d2e482339'/>
<id>urn:sha1:3016056769639878b4f152838f0cf16d2e482339</id>
<content type='text'>
Before: the function name was stored by the compiler as a constant string
and the run-time was printing it.
Now: the PC is stored instead and the run-time prints the full symbolized frame.
This adds a couple of instructions into every function with non-empty stack frame,
but also reduces the binary size because we store less strings (I saw 2% size reduction).
This change bumps the asan ABI version to v3.

llvm part.

Example of report (now):
==31711==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fffa77cf1c5 at pc 0x41feb0 bp 0x7fffa77cefb0 sp 0x7fffa77cefa8
READ of size 1 at 0x7fffa77cf1c5 thread T0
    #0 0x41feaf in Frame0(int, char*, char*, char*) stack-oob-frames.cc:20
    #1 0x41f7ff in Frame1(int, char*, char*) stack-oob-frames.cc:24
    #2 0x41f477 in Frame2(int, char*) stack-oob-frames.cc:28
    #3 0x41f194 in Frame3(int) stack-oob-frames.cc:32
    #4 0x41eee0 in main stack-oob-frames.cc:38
    #5 0x7f0c5566f76c (/lib/x86_64-linux-gnu/libc.so.6+0x2176c)
    #6 0x41eb1c (/usr/local/google/kcc/llvm_cmake/a.out+0x41eb1c)
Address 0x7fffa77cf1c5 is located in stack of thread T0 at offset 293 in frame
    #0 0x41f87f in Frame0(int, char*, char*, char*) stack-oob-frames.cc:12  &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; this is new
  This frame has 6 object(s):
    [32, 36) 'frame.addr'
    [96, 104) 'a.addr'
    [160, 168) 'b.addr'
    [224, 232) 'c.addr'
    [288, 292) 's'
    [352, 360) 'd'




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177724 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
