Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [Attributor] UB Attribute now handles all instructions that access (details)
  2. [compiler-rt] [netbsd] Define _RTLD_SOURCE to fix build (details)
Commit 5732f56bbd28be6cab976e1df0d87ac5ffae7fcd by johannes
[Attributor] UB Attribute now handles all instructions that access
memory through a pointer
Summary: Follow-up on: We basically use
`checkForAllInstructions` to loop through all the instructions in a
function that access memory through a pointer: load, store, atomicrmw,
atomiccmpxchg Note that we can now use the `getPointerOperand()` that
gets us the pointer operand for an instruction that belongs to the
aforementioned set.
Question: This function returns `nullptr` if the instruction is
`volatile`. Why? Guess:  Because if it is volatile, we don't want to do
any transformation to it.
Another subtle point is that I had to add AtomicRMW, AtomicCmpXchg to
`initializeInformationCache()`. Following `checkAllInstructions()` path,
that seemed the most reasonable place to add it and correct the fact
that these instructions were ignored (they were not in `OpcodeInstMap`
etc.). Is that ok?
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert, sstefan1
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision:
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/undefined_behavior.ll
Commit 52b5fe5f45b1908e140e05a4eceaaac7002be768 by n54
[compiler-rt] [netbsd] Define _RTLD_SOURCE to fix build
The TLS base (LWP private pointer) functions are namespaced and hidden
i.e. inside the _RTLD_SOURCE namespace.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp