diff options
| author | Eli Friedman <efriedma@quicinc.com> | 2024-05-20 13:03:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-20 13:03:31 -0700 |
| commit | c1d5cc99c6ba8e897ea145dbb2221a155b5e3e5a (patch) | |
| tree | 2cd85450f0d0f04a381ce4c4c4ff8213996f7f4a /lldb/test/API/python_api/debugger | |
| parent | fdd245ad856f85019bb408ed5c14984823e7077f (diff) | |
[LangRef] Try to formalize the definition of "odr" in LLVM IR. (#92619)
The current definition is a bit fuzzy... replace it with something
that's somewhat rigorous.
For functions, the definition is pretty narrow; as a consequence of
language-level non-determinism, it's impossible to tell whether two
functions are equivalent, so just embrace the non-determinism. For
constants, we're pretty strict; otherwise you end up concluding
constants can actually change value, which is bad for alias analysis. I
think C++ standard don't allow any non-deterministic operations in
constants, so we should be okay there? Poison is per-byte to allow some
ambiguity in the way padding is defined.
Diffstat (limited to 'lldb/test/API/python_api/debugger')
0 files changed, 0 insertions, 0 deletions
